Date attribute on POCO for new .NET client not available

Hi, I hope this is the correct category. I am updating my client from NEST to the latest Elastic.Elasticsearch.Client.

With nest I was able to add an attribute to my POCO class as below...
[Date(Format = "date_time_no_millis")]
public DateTime Date { get; set; }

However this is unavailable in the latest client. What is the current best practise approach to achieve the same?


Does the new default serializer achieve this by default?

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