Fixed connection resolver

This commit is contained in:
Syrus Akbary 2016-08-22 20:34:37 -07:00
parent 9109b9de90
commit 208651a4c0

View File

@ -134,6 +134,7 @@ class IterableConnectionField(Field):
return connection
def get_resolver(self, parent_resolver):
return partial(self.connection_resolver, parent_resolver, self.type)
resolver = super(IterableConnectionField, self).get_resolver(parent_resolver)
return partial(self.connection_resolver, resolver, self.type)
ConnectionField = IterableConnectionField