Skip to content

Commit 5deebab

Browse files
Update directives.md
1 parent 248aa66 commit 5deebab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/graphql/directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async getAuthor(@Args({ name: 'id', type: () => Int }) id: number) {
8585
Lastly, make sure to declare directives in the `GraphQLModule`, as follows:
8686

8787
```typescript
88-
GraphQLModule.forRoot<ApolloDriverConfig>({
88+
GraphQLModule.forRoot({
8989
// ...,
9090
transformSchema: schema => upperDirectiveTransformer(schema, 'upper'),
9191
buildSchemaOptions: {

0 commit comments

Comments
 (0)