Short answer - no it hasn't changed - in 7.7.2 nested content items still return IEnumerable<IPublishedContent> so you can't query them in a linq way.
As there are content types in the nested content - there will be a model for the class generated so you can construct that from the IPublishedContent item and use it like a model.
e.g. this in the current starter-kit product.cshtml page
Nested Content With ModelsBuilder
Hi,
With Nested Content in core will I be able to query any of my nested content properties as strongly typed models?
Poornima
Hi
Short answer - no it hasn't changed - in 7.7.2 nested content items still return
IEnumerable<IPublishedContent>
so you can't query them in a linq way.As there are content types in the nested content - there will be a model for the class generated so you can construct that from the IPublishedContent item and use it like a model.
e.g. this in the current starter-kit product.cshtml page
can become
n.b the starter kit has
at the top of the view. so that the
ContentModels.Feature(feature)
line is reallynew Umbraco.Web.PublishedContentModels.Feature(feature)
is working on a reply...