You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently generating Freezed classes for Dart defines nested objects with their literal name, which may cause conflicts if multiple objects are needed. Some stuff is being done if it conflicts with it's own schema, but not for other schemas.
polvallverdu
changed the title
[FEATURE]: feature description here
[FEATURE]: On Dart with Freezed, be able to prevent conflicts with nested types on JSON Schema
Oct 25, 2024
Context (Input, Language)
Input Format: Json Schema
Output Language: Dart Freezed
Description
Currently generating Freezed classes for Dart defines nested objects with their literal name, which may cause conflicts if multiple objects are needed. Some stuff is being done if it conflicts with it's own schema, but not for other schemas.
Current Behaviour / Output
Proposed Behaviour / Output
Solution
Somehow relate nested objects with their parents, to prevent conflicts.
Alternatives
Having the ability to control those names somehow, without needing interactivity. (kinda impossible)
The text was updated successfully, but these errors were encountered: