From 25d62a2afa8eaba276f5038dfe0abcca8e87038f Mon Sep 17 00:00:00 2001 From: Mardanov Timur Rustemovich Date: Wed, 21 Nov 2018 01:50:45 +0300 Subject: [PATCH] trying to load one relationship --- graphene_django/types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graphene_django/types.py b/graphene_django/types.py index e306fd1..e5d560f 100644 --- a/graphene_django/types.py +++ b/graphene_django/types.py @@ -125,6 +125,7 @@ class DjangoObjectType(ObjectType): if isinstance(root, cls): return True if not is_valid_neomodel_model(type(root)): + print(root, info, cls) raise Exception(('Received incompatible instance "{}".').format(root)) return root.__class__ == cls._meta.model