Skip to content

Commit f29e00b

Browse files
Geoffroy Empainjohnbiundo
andauthored
Update content/graphql/guards-interceptors.md
Co-Authored-By: John Biundo <[email protected]>
1 parent c41b4fa commit f29e00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/graphql/guards-interceptors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ GraphQLModule.forRoot({
9696
}),
9797
```
9898

99-
> **Warning** Enabling interceptors for field resolvers can cause performance issues when you are returning lots of records and your field resolver is executed thousands of times. For this reason, when you enable `fieldResolverEnhancers`, we advise you to skip execution of interceptors that are not strictly necessary for your field resolvers. You can do this using the following helper function:
99+
> **Warning** Enabling enhancers for field resolvers can cause performance issues when you are returning lots of records and your field resolver is executed thousands of times. For this reason, when you enable `fieldResolverEnhancers`, we advise you to skip execution of enhancers that are not strictly necessary for your field resolvers. You can do this using the following helper function:
100100
101101
```typescript
102102
export function isResolvingGraphQLField(context: ExecutionContext): boolean {

0 commit comments

Comments
 (0)