Skip to content

NEST 6.0 GA: InferMappingFor and ConcreteTypeSelector gone #3070

@tdoman

Description

@tdoman

In this PR, can now map clr types dynamically on connection settings including an…, I got an InferMappingFor() API that takes two parameters. Namely,

public TConnectionSettings InferMappingFor(Type documentType, Func<ClrTypeMappingDescriptor, IClrTypeMapping> selector)

It was there through RC1 but in the GA, it's gone. Where'd it go? Do I have to go back to the workaround described here: ConnectionSettings.MapDefaultTypeIndices in NEST 6.x?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions