glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL
https://app.quicktype.io
Apache License 2.0
12.12k stars 1.06k forks source link

[Dart] fix: missing description emit when freezed is used #2394

Closed marvin-kolja closed 7 months ago

marvin-kolja commented 1 year ago

When using the Dart generator in combination with --use-freezed, the description provided in a JSON schema is not added to each class property. The counterpart (not using "freezed") does add descriptions.

I don't believe it was an intended behaviour, just a missed feature, but let me know.