Skip to content

Commit b349632

Browse files
Clarify execution order in middleware docs (#1475)
1 parent ccdd35b commit b349632

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/execution/middleware.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ And then execute it with:
4141
4242
result = schema.execute('THE QUERY', middleware=[AuthorizationMiddleware()])
4343
44+
If the ``middleware`` argument includes multiple middlewares,
45+
these middlewares will be executed bottom-up, i.e. from last to first.
4446

4547
Functional example
4648
------------------

0 commit comments

Comments
 (0)