handler icon indicating copy to clipboard operation
handler copied to clipboard

Golang HTTP.Handler for graphl-go

Results 34 handler issues
Sort by recently updated
recently updated
newest added

This PR should support Multipart form-data file upload requests as specified by https://github.com/jaydenseric/graphql-multipart-request-spec -- which is adopted by the Apollo team. It also works without file uploads as a general...

In order to be able to prepopulate the playgrounds settings and endpoint, I've replaced the playground boolean in the handler's configuration with a playground configuration allowing to adjust the settings...

Hi, Just wondering what the best way to abort multiple mutations in a single graphql call, currently I have moved the following code : if h.resultCallbackFn != nil { h.resultCallbackFn(ctx,...

Update docs for playground and graphiql usage.

In some deployments e.g. serverless the default endpoint being set for the Playground does not work. Have added a PlaygroundEndpoint field to the Config to allow this to be explicitly...

I cannot use subscriptions with the graphical interface. I tried to solve the issue with #69 but I still get `client.js:1603 WebSocket connection to 'ws://localhost:7000/subscriptions' failed: Error during WebSocket handshake:...

Somehow field is showing deprecated [screenshot](https://snag.gy/K7THjX.jpg) code : ``` package main import ( "fmt" "net/http" "github.com/graphql-go/graphql" "github.com/graphql-go/handler" ) var schema, _ = graphql.NewSchema( graphql.SchemaConfig{ Query: graphql.NewObject( graphql.ObjectConfig{ Name: "Query", Fields:...

Hi, we updated an exported function comment based on best practices from [Effective Go](https://golang.org/doc/effective_go.html). It’s admittedly a relatively minor fix up. Does this help you?

Hey¡ I can't install it ``` ./handler.go:147:47: formattedError.OriginalError undefined (type gqlerrors.FormattedError has no field or method OriginalError) ```