Interface GraphQLHttpServerOptions<TContext>

interface GraphQLHttpServerOptions<TContext> {
    createContext: CreateContextFn<TContext>;
    parser?: GraphQLExecutionArgsParser;
    parserOptions?: GraphQLExecutionArgsParserOptions;
    schema: GraphQLSchema;
}

Type Parameters

  • TContext

Properties

createContext: CreateContextFn<TContext>

Function to create context from HTTP headers.

Overrides execution args parser.

Execution args parser options.

schema: GraphQLSchema

Executable GraphQLSchema instance.