Khan / genqlient

a truly type-safe Go GraphQL client
MIT License
1.07k stars 107 forks source link

Fix non-deterministic generated code involving interfaces and fragments. #323

Closed csilvers closed 7 months ago

csilvers commented 7 months ago

In #209, @vikstrous2 added a bugfix to sort the list of interfaces when generating code, so the generated output was stable. This worked great, but there was one more case where we need to do that, involving interfaces in fragments.

I have: