mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-23 01:56:54 +03:00
Fixed connection resolver
This commit is contained in:
parent
9109b9de90
commit
208651a4c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user