mirror of
https://github.com/vale981/apollo-server
synced 2025-03-04 17:21:42 -05:00
Fix markdown headings to more properly group sections.
This commit is contained in:
parent
ff4d6cc378
commit
08ddf26cfe
1 changed files with 2 additions and 2 deletions
|
@ -223,7 +223,7 @@ async function StartServer() {
|
|||
StartServer().catch(error => console.log(error));
|
||||
```
|
||||
|
||||
## Fastify
|
||||
### Fastify
|
||||
|
||||
```js
|
||||
const { ApolloServer, gql } = require('apollo-server-fastify');
|
||||
|
@ -268,7 +268,7 @@ const server = new ApolloServer({ typeDefs, resolvers });
|
|||
exports.graphqlHandler = server.createHandler();
|
||||
```
|
||||
|
||||
### Context
|
||||
## Context
|
||||
|
||||
The context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue