Replies: 2 comments 7 replies
-
Are you looking to get access to the context inside your custom middleware? Is so the context is passed to custom middleware but it does not have type safety. You can use the createMiddleware wrapper function which will add types to the context. |
Beta Was this translation helpful? Give feedback.
0 replies
-
hi @NicoPlyley , Unfortunately, I'm not using custom middleware, I am using a 3rd party middleware called Yes, I want to get the context. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I have this script that calls sessionMiddleware:
This is working perfectly!
However, I want it to call inside the method like this so I can get the Context object
What is the correct way? The second snippet is not working correctly.
Beta Was this translation helpful? Give feedback.
All reactions