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

make model generation optional #940

Merged
merged 2 commits into from
Nov 28, 2019
Merged

Conversation

vikstrous
Copy link
Contributor

@vikstrous vikstrous commented Nov 26, 2019

Addresses part of #918
This change makes it possible to set model to null and prevent gqlgen from generating models. This can significantly speed up generation time for those that don't need to generate models. For me it took generation time down from 1:15 to 1:00 min.

I'm looking for advice on how to test this in an efficient way.

I have:

  • Added tests covering the bug / feature (see testing)
  • Updated any relevant documentation (see docs)

@vikstrous vikstrous marked this pull request as ready for review November 26, 2019 11:49
@vektah vektah merged commit 6f20101 into 99designs:master Nov 28, 2019
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
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

Successfully merging this pull request may close these issues.

2 participants