graphile / graphile/depth-limit
"'IntrospectionQuery' exceeds operation depth limits" even with all limits set to 1000
- Dominant language
- JavaScript
- Stars
- 26
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
With every limit set to 1000 I still can't get GraphiQL to successfully make its introspection query.
```
depthLimit({
maxDepth: 1000,
maxListDepth: 1000,
maxSelfReferentialDepth: 1000,
maxIntrospectionDepth: 1000,
maxIntrospectionListDepth: 1000,
maxIntrospectionSelfReferentialDepth: 1000,
revealDetails: true,
})
```
This is the error I'm getting:
_"'IntrospectionQuery' exceeds operation depth limits: field __Type.ofType nested 9 times which exceeds maximum of 8."_
Only way of making it work was to manually add this custom limit:
```
depthLimit({
...
maxDepthByFieldCoordinates: { '__Type.ofType': 1000 }
})
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.