mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-27 03:53:56 +03:00
Fixed connection resolver
This commit is contained in:
parent
9109b9de90
commit
208651a4c0
|
@ -134,6 +134,7 @@ class IterableConnectionField(Field):
|
||||||
return connection
|
return connection
|
||||||
|
|
||||||
def get_resolver(self, parent_resolver):
|
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
|
ConnectionField = IterableConnectionField
|
||||||
|
|
Loading…
Reference in New Issue
Block a user