graphql
graphql copied to clipboard
Simple low-level GraphQL HTTP client for Go
Exposes the error as `graphql.Error` and returns error details in case they are present in the error response. The user should assert the error type: ```go err := cli.Run(...) if...
I added subscription support, minimally tests against an apollo server. I plan to write a [graphql-code-gen](https://graphql-code-generator.com/) plugin later on and will test more then, but I could use a small...
Hello I am new to go programming. When I import `github.com/machinebox/graphql` in a go file, then run `go mod tidy`, the following stuff appears in console ``` github.com/my/project/server imports github.com/machinebox/graphql...
Hello, When can we have this in a release, please? https://github.com/machinebox/graphql/blob/3a92531802258604bd12793465c2e28bc4b2fc85/graphql.go#L142 We need this check and it's not available in V2.2. Can master be promoted to a release sometime soon?...
Hi ! I can't find a way to get the response status code when an HTTP error is returned. My use case is that I want to check if it...
Hi there! I notice when I `go get github.com/machinebox/graphql`, the version I have is missing the response status code checks that landed in https://github.com/machinebox/graphql/pull/19. Does something need to be published...
We noticed an issue when using this library against AWS API Gateway with a WAF, although this issue is not limited to these technologies. When hitting a WAF if you...
How do i get "response header" like `Content-Encoding` ? I need to extract gzip response. I've used code like this before for http ```go if resp.Header.Get("Content-Encoding") == "gzip" { //...
This addresses https://github.com/machinebox/graphql/issues/35 by adding documents showing that data is consumed by default so it is not necessary to process this json.