-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Best practice for configuring JSON objects in the models.jsonc
file
#65
Comments
This looks good, but if it's at all possible, I'd rather have separate |
I understand 😄 I personally comment every class and use hotkeys to fold everything.
Everything is possible, only time and work are required. I have created @Prn-Ice Personal question. It would be good to run the generator by saving the file |
@iamarnas that would be very useful, but only if I don't have to delete all the previously generated models first. |
Currently, whenever I add a new model to my models.jsonc and run I have to delete all the previous models and re-run just to see the new one. |
@Prn-Ice It would add only new object from the |
@iamarnas I see, it reads the models.jsonc file from top to bottom thats why. |
Proposal
Right now JSON to Dart model allows an override path for every JSON object by working with
models.jsonc
file and default global configuration reads from the extension settings. To add more options and make more customizable outputs my recommended method is 👇Recommended options:
Current options:
We'd have:
If someone has a better solution please suggest it in the comment with examples that other users would vote for the best one. I would be very grateful for any suggestion.
The text was updated successfully, but these errors were encountered: