Skip to content

Commit e59f687

Browse files
Merge pull request #2311 from m-allanson/patch-1
docs(graphql): Fix incorrect import
2 parents 3f0e19d + eedd038 commit e59f687

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/graphql/complexity.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ $ npm install --save graphql-query-complexity
1919
Once the installation process is complete, we can define the `ComplexityPlugin` class:
2020

2121
```typescript
22-
import { GraphQLSchemaHost, Plugin } from '@nestjs/graphql';
22+
import { GraphQLSchemaHost } from "@nestjs/graphql";
23+
import { Plugin } from "@nestjs/apollo";
2324
import {
2425
ApolloServerPlugin,
2526
GraphQLRequestListener,

0 commit comments

Comments
 (0)