Replacement of ElasticAttributes for looking up Type Name


(Jatinder) #1

I'm in the process of upgrading to 2.5 from 1.x. Part of the breaking changes includes the removal of the ElasticAttributes class https://github.com/elastic/elasticsearch-net/blob/master/docs/2.0-breaking-changes/nest-breaking-changes.md.

In the past I was able to do:
ElasticAttributes.Type(typeof(T)).Name
to get a POCO's name in Elastic.

What is the recommended way of doing so moving forward?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.