Skip to content

Commit 045390b

Browse files
committed
Fix invalid ast type check in TypeInfo
1 parent c707ee0 commit 045390b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def enter(self, node):
115115
arg_def = None
116116
self._argument = arg_def
117117
self._input_type_stack.append(arg_type)
118-
elif isinstance(node, ast.ListType):
118+
elif isinstance(node, ast.ListValue):
119119
list_type = get_nullable_type(self.get_input_type())
120120
self._input_type_stack.append(
121121
list_type.of_type if isinstance(list_type, GraphQLList) else None

0 commit comments

Comments
 (0)