We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23bb52a commit 03bd698Copy full SHA for 03bd698
docs/execution/middleware.rst
@@ -29,7 +29,7 @@ This middleware only continues evaluation if the ``field_name`` is not ``'user'`
29
.. code:: python
30
31
class AuthorizationMiddleware(object):
32
- def resolve(next, root, info, **args):
+ def resolve(self, next, root, info, **args):
33
if info.field_name == 'user':
34
return None
35
return next(root, info, **args)
0 commit comments