github.com/graph-gophers/graphql-go
The goal of this project is to provide full support of the October 2021 GraphQL specification with a set of idiomatic, easy to use Go packages.
Register tracer middleware
One of
- Call to
graphql.MustParseSchema
- Call to
graphql.ParseSchema
Append the following
any
arguments to the function call:// Using the following synthetic imports: import ( graphql "github.com/graph-gophers/graphql-go" graphqltrace "gopkg.in/DataDog/dd-trace-go.v1/contrib/graph-gophers/graphql-go" )
graphql.Tracer(graphqltrace.NewTracer())