Skip to content

Commit ea27b6f

Browse files
authored
docs(graphql): fix warning formatting
1 parent 80f10e2 commit ea27b6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/graphql/directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export class UpperCaseDirective extends SchemaDirectiveVisitor {
3131
```
3232

3333
> info **Hint** Note that directives cannot be decorated with the `@Injectable()` decorator. Thus, they are not able to inject dependencies.
34-
>
35-
> warning **Warning** `SchemaDirectiveVisitor` is exported from the `@graphql-tools/utils` package. Note that the 8.x release of this package removes this export
34+
35+
> warning **Warning** `SchemaDirectiveVisitor` is exported from the `@graphql-tools/utils` package. Note that the 8.x release of graphql-tools removes this export
3636
> and uses a different and incompatible approach to directives, so make sure to install `@graphql-tools/utils@^7` in your project.
3737
3838
Now, register the `UpperCaseDirective` in the `GraphQLModule.forRoot()` method:

0 commit comments

Comments
 (0)