Skip to content

Conversation

@loks0n
Copy link
Member

@loks0n loks0n commented Jan 29, 2025

  • fix(dotnet): models formatting
  • fix(dart): models empty sub_schema array scenario

{%- endif -%}
{%- else -%}
{%- if property.type == 'array' -%}
List<{{ property.items.type | caseUcfirst }}>.from(map['{{property.name | escapeDollarSign }}']?.map((x) => x{% if property.items.type == "string" %}.toString(){% endif %}) ?? [])
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure where this property.items.type property came from, it's empty.

@abnegate abnegate merged commit f0d2ea2 into master Jan 29, 2025
35 checks passed
@abnegate abnegate deleted the fix-dotnet-and-dart-formatting branch January 29, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants