Merge pull request #588 from ekampf/feature/doc_fix_middleware

Fix resolve arguments section according to 2.0 resolvers
This commit is contained in:
Syrus Akbary 2017-11-02 22:00:06 -07:00 committed by GitHub
commit 3fe12ca611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,10 +18,8 @@ Middlewares ``resolve`` is invoked with several arguments:
- ``next`` represents the execution chain. Call ``next`` to continue evalution.
- ``root`` is the root value object passed throughout the query.
- ``args`` is the hash of arguments passed to the field.
- ``context`` is the context object passed throughout the query.
- ``info`` is the resolver info.
- ``args`` is the hash of arguments passed to the field.
Example
-------