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 3b44375 commit 61c8592Copy full SHA for 61c8592
graphene_mongo/converter.py
@@ -185,7 +185,7 @@ def dynamic_type():
185
if not _type:
186
return None
187
elif isinstance(field, mongoengine.ReferenceField):
188
- graphene.Field(_type, resolver=reference_resolver,
+ return graphene.Field(_type, resolver=reference_resolver,
189
description=get_field_description(field, registry))
190
elif isinstance(field, mongoengine.CachedReferenceField):
191
return graphene.Field(_type, resolver=cached_reference_resolver,
0 commit comments