Skip to content
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

[Dart] Define structure of JSON type #1

Open
jean-smaug opened this issue Feb 3, 2024 · 0 comments
Open

[Dart] Define structure of JSON type #1

jean-smaug opened this issue Feb 3, 2024 · 0 comments

Comments

@jean-smaug
Copy link

👋 Hi,

First of all, thanks for this generator, it helps me a lot with my project 😁

One cool feature could be to allow dev specifying JSON schema in a comment as it's done in prisma-generator-fake-data. So the types could be more accurate :)
https://github.com/luisrudge/prisma-generator-fake-data?tab=readme-ov-file#usage

I'm denormalized some parts of my schema using JSON array and this is the only case where the dart generator where I need to do manual updates

Capture d’écran 2024-02-03 à 12 43 44

image

Thanks :)

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

No branches or pull requests

1 participant