Skip to content

Clarify execution order in middleware docs#1475

Merged
erikwrede merged 1 commit intographql-python:masterfrom
rgroothuijsen:issue-1385
Nov 15, 2022
Merged

Clarify execution order in middleware docs#1475
erikwrede merged 1 commit intographql-python:masterfrom
rgroothuijsen:issue-1385

Conversation

@rgroothuijsen
Copy link
Contributor

This PR adds a note to the middleware documentation noting the last-to-first execution order for middlewares, since #1385 indicates that some people were surprised by this behavior.

Fixes #1385

Copy link
Member

@erikwrede erikwrede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@erikwrede erikwrede merged commit b349632 into graphql-python:master Nov 15, 2022
@ahter
Copy link

ahter commented Dec 15, 2022

Is there specific reason why that these execute bottom-up, unlike other middleware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mention the order in which middlewares are executed in the docs

3 participants