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

**Is your feature request related to a problem? Please describe.** We now have support for mapping GraphQL optional types to generics (see #251). In many schemas, though, you don't want...

enhancement
help wanted

It seems like one day, maybe soon, we'll find value in a plugin API, so users can hook into codegen in ways that we can't anticipate. This issue is to...

**Added [support for graphQL subscriptions](https://github.com/Khan/genqlient/issues/199).** - Using `graphql.NewClientUsingWebSocket()`, the returned `graphql.WebSocketClient` will be able to subscribe to graphQL endpoints. - Implementation does not depend on a specific websocket package, but...

This introduces the ability to include `operationName` as a query parameter for the default client. There are a few patterns for options that are described [here](https://golang.cafe/blog/golang-functional-options-pattern.html). The existing `NewClientUsingGet` follows...

**Describe the bug** Seems like turning on `use_struct_references` and setting `pointer: optional` breaks the ability to read from inline fragments. **To Reproduce** Problem happens at runtime. Setting `use_struct_references: true` and...

bug

**Describe the bug** I am encountering "conflicting definition" errors when using specific GraphQL field and type names with genqlient. The error message is as follows: > ...../schema.graphql:13: conflicting definition for...

bug

**Describe the bug** Hey all 👋 We are having a use-case where we want to apply `omitempty` on all fields except a mandatory graphql field. We've tried the below code...

bug
help wanted

I am using **Hasura** scheme. the generated code is using a redeclared variable which is causing `'data' redeclared in this block` error. I have to mutually edit `UpsertDeviceResponse` from `data`...

bug

We seem to have a lot of users using genqlient to query a [Hasura](https://hasura.io/docs/latest/index/)-generated schema, and they aren't having a great time of it; a lot of bugs and feature...

documentation
enhancement
needs design

**Is your feature request related to a problem? Please describe.** Currently I'm using the Go default values for a response in a lot of fields. But currently I need to...

enhancement