mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 09:36:44 +03:00
Clarify execution order in middleware docs (#1475)
This commit is contained in:
parent
ccdd35b354
commit
b349632a82
|
@ -41,6 +41,8 @@ And then execute it with:
|
||||||
|
|
||||||
result = schema.execute('THE QUERY', middleware=[AuthorizationMiddleware()])
|
result = schema.execute('THE QUERY', middleware=[AuthorizationMiddleware()])
|
||||||
|
|
||||||
|
If the ``middleware`` argument includes multiple middlewares,
|
||||||
|
these middlewares will be executed bottom-up, i.e. from last to first.
|
||||||
|
|
||||||
Functional example
|
Functional example
|
||||||
------------------
|
------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user