Optional
acknowledgeOptional
connectionTimeout until receiving initialization message, in milliseconds. Defaults to 3000.
Function to create context from HTTP headers.
Optional
defaultDefault field resolver.
Optional
httpOptional
parserOverrides execution args parser.
Optional
parserExecution args parser options.
Optional
readerGraphQLReader instance.
Optional
resolverResolver error handler.
Optional
resolversResolver definitions, or list of resolver definitions.
Optional
rootPath to root directory for code generation. It's recommended to use a root relative to __dirname. Defaults to the current working dir.
Optional
schemaPath to directory of GraphQL schema documents, relative to root, OR a GraphQLSchema instance. Defaults to "schema".
Optional
stitchingOptional
ws
Acknowledgement function. Called once per connection with the initialization message payload. May throw an error to cause socket closure (4401 Unauthorized).