Open
Description
Elastic.Clients.Elasticsearch version: 8.*
Elasticsearch version: 8.*
.NET runtime version: 9
Operating system version: Windows 11
Description of the problem including expected versus actual behavior:
The Nest driver used to support mapping nested objects fluently using generics
e.g. descriptor.Nested<SomeType>(n => n.Name(s => s.ListOfSomeType).Properties(s => s.Keyword(k => k.SomePropertyOfSomeType)))
Have I just overlooked how this should be done in the new driver, I have seen other tickets where people mention working around it by using the existing Nested
method but using .First().SomePropertyOfSomeType
all over the place ?