Skip to content

Commit

Permalink
Merge pull request #132 from fabianriewe/patch-1
Browse files Browse the repository at this point in the history
Added support for CachedReferenceField
  • Loading branch information
abawchen authored Mar 2, 2020
2 parents 9a894cc + f6caa14 commit a52bd95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphene_mongo/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def convert_field_to_union(field, registry=None):

@convert_mongoengine_field.register(mongoengine.EmbeddedDocumentField)
@convert_mongoengine_field.register(mongoengine.ReferenceField)
@convert_mongoengine_field.register(mongoengine.CachedReferenceField)
def convert_field_to_dynamic(field, registry=None):
model = field.document_type

Expand Down

0 comments on commit a52bd95

Please sign in to comment.