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 409460f commit 76027baCopy full SHA for 76027ba
graphene_mongo/utils.py
@@ -138,14 +138,13 @@ def collect_query_fields(node, fragments):
138
field.update({
139
leaf.name.value: collect_query_fields(leaf, fragments)
140
})
141
- elif leaf.kind == 'FragmentSpread':
+ elif leaf.kind == 'fragment_spread':
142
field.update(collect_query_fields(fragments[leaf['name']['value']],
143
fragments))
144
- elif leaf.kind == 'InlineFragment':
+ elif leaf.kind == 'inline_fragment':
145
146
- leaf["type_condition"].name.value: collect_query_fields(leaf, fragments)
+ leaf.type_condition.name.value: collect_query_fields(leaf, fragments)
147
148
- pass
149
150
return field
151
0 commit comments