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 6c6d640 commit 453404cCopy full SHA for 453404c
graphql/utils/type_info.py
@@ -85,6 +85,8 @@ def enter_OperationDefinition(self, node):
85
definition_type = self._schema.get_query_type()
86
elif node.operation == 'mutation':
87
definition_type = self._schema.get_mutation_type()
88
+ elif node.operation == 'subscription':
89
+ definition_type = self._schema.get_subscription_type()
90
91
self._type_stack.append(definition_type)
92
0 commit comments