Skip to content

Commit eb5c309

Browse files
committed
Fixed resolving bug.
1 parent 2f5f30e commit eb5c309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/execution/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class MiddlewareManager(object):
1111

1212
def __init__(self, *middlewares):
1313
self.middlewares = middlewares
14-
self._middleware_resolvers = get_middleware_resolvers(middlewares)
14+
self._middleware_resolvers = list(get_middleware_resolvers(middlewares))
1515
self._cached_resolvers = {}
1616

1717
def get_field_resolver(self, field_resolver):

0 commit comments

Comments
 (0)