Optional__OptionalallowOptionalapolloOptionalautoIf enabled, GraphQL schema will be generated automatically
OptionalautoIf enabled, will register a global interceptor that automatically maps "HttpException" class instances to corresponding Apollo errors.
OptionalbuildOptions to be passed to the schema generator Only applicable if "autoSchemaFile" = true
OptionalcacheOptionalcontextContext function
OptionalcsrfOptionaldangerouslyOptionaldebugIf true, enables development mode helpers and logs messages of all severity levels
If false, only warn- and error-level messages are logged.
OptionaldefinitionsTypeScript definitions generator options
OptionaldirectiveDirective resolvers
OptionaldocumentOptionaldriverGraphQL server adapter
OptionalexecutionOptionalmaxCoercionErrors?: numberSet the maximum number of errors allowed for coercing (defaults to 50).
OptionalfieldOptionalfieldEnable/disable enhancers for @ResolveField()
OptionalformatOptionalgraphiqlGraphiQL options, or a boolean to enable GraphiQL with default options.
OptionalhideOptionalincludeAn array of modules to scan when searching for resolvers
OptionalincludeOptionalinheritInherit missing resolvers from their interface types defined in the resolvers object.
OptionalinstallIf enabled, "subscriptions-transport-ws" will be automatically registered.
OptionalintrospectionIf true, enables schema introspection by clients. Default is true unless NODE_ENV is
set to production
OptionallegacyOptionalloggerOptionalmaxOptionalmetadataExtra static metadata to be loaded into the specification
OptionalnodeOptionalparseOptionalpathPath to mount GraphQL API
OptionalpersistedOptionalplaygroundGraphQL playground options. The built-in playground is deprecated and will be replaced with GraphiQL in the future.
OptionalpluginsOptionalresolversExtra resolvers to be registered.
OptionalresolverResolver validation options.
OptionalrootOptionalschemaOptional GraphQL schema (to be used or to be merged)
OptionalsortSort the schema lexicographically
Optionalstatus400OptionalstopIf true, the GraphQL server will stop during onApplicationShutdown
instead of onModuleDestroy. This allows the server to keep accepting
requests during beforeApplicationShutdown, enabling graceful shutdown.
OptionalstopOptionalstringifyOptionalsubscriptionsSubscriptions configuration.
OptionaltransformApply transformSchema to the autoSchemaFile
OptionaltransformFunction to be applied to the discovered resolvers letting you perform compositions.
OptionaltransformFunction to be applied to the schema letting you register custom transformations.
OptionaltypeType definitions
OptionaltypePaths to files that contain GraphQL definitions
OptionalusePrepends the global prefix to the url
OptionalvalidationOptionalvalidation
Public Api