Skip to content

Commit 6005a0c

Browse files
authored
fix(graphql): Inline default apollo install
I totally missed the text below, I think this change makes the default experience better, since that's express and also makes the fastify option stand out.
1 parent 9a6b951 commit 6005a0c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

content/graphql/quick-start.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ In this chapter, we assume a basic understanding of GraphQL, and focus on how to
99
Start by installing the required packages:
1010

1111
```bash
12-
$ npm i @nestjs/graphql graphql-tools graphql
12+
$ npm i @nestjs/graphql graphql-tools graphql apollo-server-express
1313
```
14-
15-
Depending on what underlying platform you use (Express or Fastify), you must also install either `apollo-server-express` or `apollo-server-fastify`.
14+
> info **Hint** If using Fastify, instead of installing `apollo-server-express`, you should install `apollo-server-fastify`.
1615
1716
#### Overview
1817

0 commit comments

Comments
 (0)