Skip to content

Commit d1113cc

Browse files
committed
=== true
1 parent 7f16076 commit d1113cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation/rules/MaxIntrospectionDepthRule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function MaxIntrospectionDepthRule(
2424
): boolean {
2525
if (node.kind === Kind.FRAGMENT_SPREAD) {
2626
const fragmentName = node.name.value;
27-
if (visitedFragments[fragmentName]) {
27+
if (visitedFragments[fragmentName] === true) {
2828
// Fragment cycles are handled by `NoFragmentCyclesRule`.
2929
return false;
3030
}

0 commit comments

Comments
 (0)