Page Contents

Home > @loopback/graphql > GraphQLServerOptions

GraphQLServerOptions interface

Options for GraphQL server

Signature:

export interface GraphQLServerOptions extends HttpOptions 

Extends: HttpOptions

Properties

Property Modifiers Type Description
apollo?   ApolloServerExpressConfig (Optional) ApolloServerExpress related configuration
asMiddlewareOnly?   boolean (Optional) Use as a middleware for RestServer instead of a standalone server
expressSettings?   Record<string, unknown> (Optional) Express settings
middlewareOptions?   GetMiddlewareOptions (Optional) Middleware options for GraphQL