How does the createMiddleware function work with parsedInput? #286
Unanswered
palmmymumu
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The You can see an example in the middleware page of the docs, by looking at the logging one. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, in a case where you need to check if ctx.user.userId has permission to access the data of the payment specified in parsedInput.payId, and return next({ ctx: { payment } }). to next action
Beta Was this translation helpful? Give feedback.
All reactions