Skip to content

Commit 8306ac3

Browse files
committed
Merge branch 'features/middleware' into features/next
2 parents d9c34a0 + eb5c309 commit 8306ac3

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)