Skip to content

Commit b15fbcd

Browse files
committed
leave todo
1 parent d1113cc commit b15fbcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/validation/rules/MaxIntrospectionDepthRule.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export function MaxIntrospectionDepthRule(
5050
if (
5151
node.kind === Kind.FIELD &&
5252
// check all introspection lists
53+
// TODO: instead of relying on field names, check whether the type is a list
5354
(node.name.value === 'fields' ||
5455
node.name.value === 'interfaces' ||
5556
node.name.value === 'possibleTypes' ||

0 commit comments

Comments
 (0)