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 4833293 commit ac272c3Copy full SHA for ac272c3
graphql/core/validation/rules.py
@@ -270,7 +270,7 @@ def do_types_overlap(t1, t2):
270
if isinstance(t2, GraphQLObjectType):
271
return t1.get_possible_types().index(t2) != -1
272
273
- t1_type_names = { possible_type['name']: possible_type for possible_type in t1.get_possible_types() }
+ t1_type_names = {possible_type['name']: possible_type for possible_type in t1.get_possible_types()}
274
return any(t['name'] in t1_type_names for t in t2.get_possible_types())
275
276
@staticmethod
0 commit comments