Page Contents
Home > @loopback/graphql > GraphQLServerOptions
GraphQLServerOptions interface
Options for GraphQL server
Signature:
export interface GraphQLServerOptions<TContext extends BaseContext = BaseContext> extends HttpOptions
Extends: HttpOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
Partial<ApolloServerOptionsWithStaticSchema<TContext>> |
(Optional) ApolloServerExpress related configuration | ||
|
boolean |
(Optional) Use as a middleware for RestServer instead of a standalone server | ||
|
Record<string, unknown> |
(Optional) Express settings | ||
|
string |
(Optional) | ||
|
Record<string, unknown> |
(Optional) Middleware options for GraphQL | ||
|
boolean |
(Optional) |