You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# npm i @nestjs/graphql @nestjs/apollo graphql apollo-server-fastify
17
17
18
18
# For Fastify and Mercurius
19
-
# npm i @nestjs/graphql @nestjs/mercurius graphql mercurius fastify
19
+
# npm i @nestjs/graphql @nestjs/mercurius graphql mercurius
20
20
```
21
21
22
22
> warning **Warning**`@nestjs/graphql@>=9` and `@nestjs/apollo^10` packages are compatible with **Apollo v3** (check out Apollo Server 3 [migration guide](https://www.apollographql.com/docs/apollo-server/migration/) for more details), while `@nestjs/graphql@^8` only supports **Apollo v2** (e.g., `[email protected]` package).
@@ -345,3 +345,7 @@ export class AppModule {}
345
345
> info **Hint** Once the application is running, open your browser and navigate to `http://localhost:3000/graphiql`. You should see the [GraphQL IDE](https://github.com/graphql/graphiql).
346
346
347
347
The `forRoot()` method takes an options object as an argument. These options are passed through to the underlying driver instance. Read more about available settings [here](https://github.com/mercurius-js/mercurius/blob/master/docs/api/options.md#plugin-options).
348
+
349
+
#### Example
350
+
351
+
A working example is available [here](https://github.com/nestjs/nest/tree/master/sample/33-graphql-mercurius).
0 commit comments