genqlient icon indicating copy to clipboard operation
genqlient copied to clipboard

a truly type-safe Go GraphQL client

Results 73 genqlient issues
Sort by recently updated
recently updated
newest added

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,...

enhancement
needs use cases
needs design

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...

enhancement
needs design

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...

enhancement
help wanted
needs design

GraphQL allows you to do this: ```graphql query { myField { # these two get merged: subField { subSubField1 subSubField2 } subField { subSubField3 subSubField4 } } } ``` and...

enhancement
needs use cases

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...

enhancement
needs design

**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:...

bug

## 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...

bug

**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,...

bug

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)...