genqlient
genqlient copied to clipboard
a truly type-safe Go GraphQL client
**Is your feature request related to a problem? Please describe.** When the user doesn't have control over naming conventions in the GraphQL schema, using the generated code can be awkward...
**Is your feature request related to a problem? Please describe.** I am working with an API that uses subscriptions and I would like to use them instead of polling. **Describe...
If you want to apply some option to all cases where a particular field of a particular type is referenced in an operation (most commonly an input type) we have...
**Is your feature request related to a problem? Please describe.** I'd like to generate independent files for different schemas/operations so that all the generated code won't end up in a...
**Is your feature request related to a problem? Please describe.** I'm working on a Go service that needs to speak to a number of 'backend' GraphQL APIs. I'm trying to...
**Describe the bug** When glob matching with the root directory, `go generate ./...` fails output ``` $ go generate ./... no queries found, looked in: **/*.graphql (configure this in genqlient.yaml)...
(Split from #149.) If you have in your schema ```graphql input T { f: T # or `f: T!` } ``` then genqlient by default generates ```go struct T {...
I broke this out of https://github.com/Khan/genqlient/pull/127 so this is my first stacked diff. - Update snapshots to make tests pass - Redo Makefile and inject version into building/installing - Update...
Consider the following queries: ```graphql # @genqlient(omitempty: true) query Q1(input1: MyInput) { ... } query Q2(input2: MyInput) { ... } ``` In this case, we generate a type `MyInput` which...
**Is your feature request related to a problem? Please describe.** we should have a way to add json tags for bindings given ``` bindings: bigint: type: int64 query GetUser($email: String!)...