Skip to content

GlobalMiddlewares are called once before each @Field #902

Answered by MichalLytek
AmrAnwar asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, global middlewares runs on every graphql resolver - query, mutation, field.

There's no API for limiting that, you can only check info and quick exit on fields if you don't want that behavior.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AmrAnwar
Comment options

Answer selected by AmrAnwar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants