From 87634240c9da458c2eaa438289939017bbd64924 Mon Sep 17 00:00:00 2001 From: Simon Hewitt Date: Wed, 31 Aug 2016 15:03:51 -0700 Subject: [PATCH] relay Connection.node does not have to subclass Node/ObjectType --- graphene/relay/connection.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/graphene/relay/connection.py b/graphene/relay/connection.py index 9a06e1eb..4e52e3f5 100644 --- a/graphene/relay/connection.py +++ b/graphene/relay/connection.py @@ -57,9 +57,6 @@ class ConnectionMeta(ObjectTypeMeta): options.local_fields = OrderedDict() assert options.node, 'You have to provide a node in {}.Meta'.format(cls.__name__) - assert issubclass(options.node, (Node, ObjectType)), ( - 'Received incompatible node "{}" for Connection {}.' - ).format(options.node, name) base_name = re.sub('Connection$', '', options.name) or options.node._meta.name if not options.name: