Documentation
Server
Type-aliases
GraphQLExecutionContextValue

Type Alias: GraphQLExecutionContextValue

GraphQLExecutionContextValue: object | symbol | number | string | boolean | undefined | null

Defined in: src/server.ts:63

A concrete GraphQL execution context value type.

Mainly used because TypeScript collapses unions with any or unknown to any or unknown. So, we use a custom type to allow definitions such as the context server option.