-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
When running the generator two times in a row, the output is inconsistently sorted and creates a large git diff. When I add a new query for example, I'd like it to be easier to review the new generated types and functions before merging.
Describe the solution you'd like
A new config flag that allows for sorting the output. This might mean the generator will take a few more seconds to run, but since this is not happening at build time that works for me.
Describe alternatives you've considered
We've considered running the generator during the build and adding the generated file to .gitignore, but since the file is infrequently changed we'd prefer to manually review the diff during PRs.
vhenzl, acidoxee, amaster507, fredrikkadolfsson, matt-senseye and 9 more