Closed robertjf closed 5 years ago
actually, it seems this is only the case when the nested content is in single item mode - other properties based on Nested Content don't seem to be affected.
Thanks for raising this @robertjf - I also noticed this one and put a fix in.
If you download v1.0.1 of SuperValueConverters (available from all good package stores: Our Umbraco, NuGet, Github) it will fix your issue!
When I generate my models, any Nested Content (and probably other types like StackedContent) with single Document Types configured should map to the appropriate type. Instead they are mapping to IEnumerable. See below for details:
DataType configuration:
Generated code:
What I expect: