Pass data from middleware to handler
stasandk opened this issue · 2 comments
stasandk commented
Is your feature request related to a problem? Please describe.
I have a middleware that checks and parse the JWT. I would like to pass from that middleware to the handler the parsed JWT so I don't need to parse it again. I saw that the fiber has this feature but I didn't saw anything related here.
Describe the solution you'd like
Be able to set in context some data that will be available in the next middleware or handler