Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass data from middleware to handler #78

Closed
stasandk opened this issue Feb 10, 2021 · 2 comments · Fixed by #80
Closed

Pass data from middleware to handler #78

stasandk opened this issue Feb 10, 2021 · 2 comments · Fixed by #80
Assignees

Comments

@stasandk
Copy link

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

@abahmed abahmed self-assigned this Feb 10, 2021
@abahmed
Copy link
Member

abahmed commented Feb 10, 2021

Hey @stasandk 👋
Thanks for raising this. Your request is prioritized and this will be supported ASAP.

@stasandk
Copy link
Author

Awesome! Love the simplicity of this framework, good job @abahmed 👏🏼

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 a pull request may close this issue.

2 participants