Missing Context
contextValue.GraphQLDebuggerContext missing
Inject the GraphQLDebuggerContext
instance inside your GraphQL request context.
import { GraphQLDebuggerContext } from "@graphql-debugger/trace-schema";
const tracedScema = traceSchema({
schema,
adapter: // <-- See Adapters
});
const myServer = new GraphQLServerFooBar({
schema,
context: {
GraphQLDebuggerContext: new GraphQLDebuggerContext(tracedSchema),
},
});