Page Contents

Home > @loopback/graphql > GraphQLServerOptions

GraphQLServerOptions interface

Options for GraphQL server

Signature:

export interface GraphQLServerOptions extends HttpOptions 

Extends: HttpOptions

Properties

Property 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