 Nikolay EdigaryevandGitHub
|
f80df6d4f1
|
Sort operations to guarantee a stable order (#156)
Problem: currently when using a wildcard that covers multiple files in `operations:` YAML directive the generator emits functions in a non-stable ordering due to the use of map for storing file names:
https://github.com/Khan/genqlient/blob/e0accbded177db9143314911bacedf61b2cda656/generate/parse.go#L68-L84
Solution: sort the operations before emitting them.
|
2021-11-26 12:32:03 -08:00 |
|