Page Contents
Home > @loopback/graphql > GraphQLServer > (constructor)
GraphQLServer.(constructor)
Constructs a new instance of the GraphQLServer class
Signature:
constructor(options?: GraphQLServerOptions, parent?: Context);
Parameters
| Parameter | Type | Description |
|---|---|---|
| options | GraphQLServerOptions | (Optional) |
| parent | Context | (Optional) |