new GraphqQLServer()
Extends Server
and integrates an ApolloServer
(a GraphQL handler) into the server.
Extends Server
and integrates an ApolloServer
(a GraphQL handler) into the server.
Accepts the standard input that Server
does, as well as an
additional schema
parameter, which is used to populate
ApolloServer
.
ApolloServer
integrates itself into the server by adding an
additional router
to the Koa
app. This
router
handles requests to config.graphql.url
.
- Source:
- See: