Khan / genqlient

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

Add some better tests for use_struct_references #273

Closed benjaminjkraft closed 1 year ago

benjaminjkraft commented 1 year ago

The test it was using was not really exercising things (maybe this was before I added support for using different queries for config tests). The new tests exercise a bit more, which is useful if you want to know exactly what this option does. I also added tests where we mix with optional: pointer since those interact a bit.

I have: