Skip to content

Documentation for Property Name Inference mentions incorrect attributes #1715

@jeroenheijmans

Description

@jeroenheijmans

The Type/Index Inference, Property Name Inference documentation contains the following text:

Properties marked with [ElasticAttibute(Name="")] or [JsonProperty(Name="")] will pass the configured name verbatim.

As far as I can tell:

  1. The ElasticAttribute should be ElasticProperty;
  2. The JsonProperty named argument Name should be PropertyName;

Perhaps this would be a better text

Properties marked with [ElasticProperty(Name="")] or [JsonProperty(PropertyName="")] will pass the configured name verbatim.

Or did I misunderstand the docs here?

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