We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f16076 commit d1113ccCopy full SHA for d1113cc
src/validation/rules/MaxIntrospectionDepthRule.ts
@@ -24,7 +24,7 @@ export function MaxIntrospectionDepthRule(
24
): boolean {
25
if (node.kind === Kind.FRAGMENT_SPREAD) {
26
const fragmentName = node.name.value;
27
- if (visitedFragments[fragmentName]) {
+ if (visitedFragments[fragmentName] === true) {
28
// Fragment cycles are handled by `NoFragmentCyclesRule`.
29
return false;
30
}
0 commit comments