new GraphQLHandler()
Methods
handle(event)
Something has happened, so handle it.
Parameters:
| Name | Type | Description |
|---|---|---|
event |
RoutingContext | the event to handle |
queryContext(factory) → {GraphQLHandler}
Customize the query context object.
The provided
factory method will be invoked for each incoming GraphQL request.
Parameters:
| Name | Type | Description |
|---|---|---|
factory |
function |
Returns:
a reference to this, so the API can be used fluently
- Type
- GraphQLHandler