Make output deterministic for graphql interfaces (#209)
We noticed that the output from genqlient can be non-deterministic when a graphql query queries a field that's an interface. This PR fixes that by sorting the types as soon as we extract them from the schema.
This commit is contained in:
@@ -26,6 +26,8 @@ When releasing a new version:
|
||||
|
||||
### Bug fixes:
|
||||
|
||||
- Fixed non-deterministic generated code when querying graphql interfaces
|
||||
|
||||
## v0.5.0
|
||||
|
||||
Version 0.5.0 adds several new configuration options and convenience features. Note that genqlient now requires Go 1.16 or higher, and is tested through Go 1.18.
|
||||
|
||||
Reference in New Issue
Block a user