genqlient
genqlient copied to clipboard
a truly type-safe Go GraphQL client
Suppose you have an argument that's a `[String]!` and you want to pass `["a", null, "c"]`. Right now you pretty much have to do `pointer: true`, then pass `[]*string{&"a", null,...
I understand that this isn't production ready yet nor is it complete but I'd like to request a feature if you guys are taking those requests. I have a small...
Unclear exactly what the API for this would be -- would you specify the batches in advance and we generate one function, or is there some quasi-generic `genqlient.All() `, or...
GraphQL allows you to do this: ```graphql query { myField { # these two get merged: subField { subSubField1 subSubField2 } subField { subSubField3 subSubField4 } } } ``` and...
We can of course generate code for relay types just fine, but it's even more of a mouthful than usual. It might be useful to have a plugin that elides...
**Describe the bug** Hi geeks, Thanks for this amazing lib. I have the following graphql input with default fields ```gql input FormInput { hint: String inputType: MwappFormInputType = TEXT key:...
## changes - fix `optional` default value in docs/genqlient.yaml ## issue current yaml causes an unmarshal error like below ``` line 14: cannot unmarshal !!map into string ``` see: https://github.com/Khan/genqlient/blob/main/generate/config.go#L34
**Describe the bug** Using the following in my configuration results in an error. ```yml optional: output: pointer ``` ``` invalid config file /Users/nickwesselman/src/polyglot-functions/extensions/order-discount-golang/genqlient.yaml: yaml: unmarshal errors: line 11: cannot unmarshal...
**Describe the bug** Our schema at Shopify includes a redeclaration of the ID type, with an updated description documentation on its expected format for our endpoints. This is valid schema,...
It could be useful to annotate optional fields annotate with `omitempty` when using pointers. By allowing this option, input fields that get removed (and not used is the executed queries)...