graphql icon indicating copy to clipboard operation
graphql copied to clipboard

Package graphql provides a GraphQL client implementation.

Results 63 graphql issues
Sort by recently updated
recently updated
newest added

I know this error has popped up before, but previous solutions don't seem to apply to me (or they do and I've overlooked it somehow). I'm using this module to...

For purposes of both server-side metrics and stubbing of HTTP requests in client-side tests, we need all GraphQL operations to be named; e.g. ```graphql query FindUser{...} mutation AddReaction{...} ``` This...

API decision

can set http client's headers and cookies ```go cli := NewClient( "url", httpClient, graphql.WithCookie("cookieName", "cookieVal"), graphql.WithHeader("headerName", "headerVal"), ) ``` fully backwards-compatible.

Currently the only header being set is the content type: /shurcooL/go/ctxhttp/ctxhttp.go:83 ``` req.Header.Set("Content-Type", bodyType) ``` It would be helpful to allow setting custom headers in addition to the content-type since...

question

Hi, All I need is to use your "constructQuery" for tests. Please make it public. I got custom types at queries and found that I want to write small assert...

`struct field for status doesn't exist in any of 2 places to unmarshal` I have a JSON type and it seems to be expecting the whole object before running my...

API decision
NeedsInvestigation

To be able to use other transmission protocols, such as WebSockets for example, shurcooL/graphql needs to be abstracted away from the actual transport layer. This abstraction could also allow: -...

enhancement
thinking
API decision

Hello Reader, I love this library. It makes maintaining and even generating graphql clients super easy. While the approach of using structs is not as flexible when you need very...

For our use case, we need to pass in our custom HttpClient and make request with a different OAuth2 Bearer Token. We can't use the oauth2 lib as suggested. Anyway...