graphql icon indicating copy to clipboard operation
graphql copied to clipboard

An implementation of GraphQL for Go / Golang

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

this is my code: ```go var MeType = graphql.NewObject(graphql.ObjectConfig{ Name: "me", Fields: graphql.Fields{ "referral": &graphql.Field{ Type: ReferralType, Resolve: func(p graphql.ResolveParams) (interface{}, error) { return proxy.GetMeReferralById(p.Context) }, }, }, }) var...

#### Overview - Built on top of: https://github.com/graphql-go/graphql/pull/274 - closes: https://github.com/graphql-go/graphql/issues/170 #### Test plan - `go test ./...`

Is there a way to create custom directives? I was looking to implement authentication using directives by following this [blog post](https://blog.graph.cool/graphql-directive-permissions-authorization-made-easy-54c076b5368e), but could not figure out how to define a...

👋 all - quick question. We ([Apollo](https://www.apollographql.com)) are interested in working on a few additions to this project (e.g. adding `extensions` support). It doesn't look like there have been any...

Wonder if there is a way to export schemas or just have to write it twice.

When I request a mutation to my graphql server(using graphql-go) with null values in input arguments, the null values are missing in ResolveParams.Args ```graphql mutation Update($id: Int!, $input: UpdateInput!) {...

I'm always shocked by the boilerplate I need to write to add simple structs to my schema. What I did is: I started to write some helper methods to analyze...