graphql-python / graphql-python/graphql-core-legacy
`print_schema` should be deterministic
- Dominant language
- Python
- Stars
- 372
- Forks
- 175
- PR merge metrics
- No merged PRs in 30d
Description
In our project, we commit a graphql schema to our repo. This is useful for running demos, tests and mocking data.
However, now we also want to be able to ensure that the schema is kept up-to-date with a CI check. Unfortunately, printing the schema twice, seems to not be guaranteed to print values in the same order (especially keys in object types, and field arguments). This makes consistency checks significantly harder.
It'd be great if there was a guarantee of determinism. Running the printer repeatedly, against a given schema always outputs the same file.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.