⎆⠀constructor
GQLExpressMiddleware. ⎆⠀constructor
new ⎆⠀constructor(handlers)
For now, takes an Array of classes extending from GQLBase. These are
parsed and a combined schema of all their individual schemas is generated
via the use of ASTs. This is passed off to express-graphql.
Parameters:
Name | Type | Description |
---|---|---|
handlers |
Array.<GQLBase> | an array of GQLBase extended classes |
- Source:
- GQLExpressMiddleware.js, line 91