-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
code_gen takes about 4 minutes to generate with even just small change in one query #311
Comments
Thanks for raising your issue, what version are you on? |
0.13.1 |
I am very surprised you are seeing such poor performance. If you are able to share your schema and queries, e.g. in private repo, then I can try and run the generator against it and identify any bottlenecks. |
Sure, i'll get some examples sorted for you later today, thank you :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heya,
We have a project with gql schema that's already notable and growing (1k+ lines and lots of queries in the code), and every time we run
dart run build_runner build
it takes about 4 minutes to finish. Which would be less of an issue if we were talking about updates on schema, but we also must run it when adjusting queries, which as you can imagine is quite cumbersome on development.Are we doing something wrong? Is there something where we can tweak this? Realistically for something we must run at every query change, the time I would expect should be in seconds max, so minor tweaks is not what I am after here, just more hoping we've messed something up badly.
The text was updated successfully, but these errors were encountered: