-
Notifications
You must be signed in to change notification settings - Fork 412
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
There's no way to use a "providing middleware" on a Routes
nor an HttpApp
#2488
Comments
/bounty $100 @987Nabil Working on a fix for this. |
💎 $100 bounty created by ZIO 👉 Add a bounty • Share on socials
|
🎉🎈 @987Nabil has been awarded $100! 🎈🎊 |
Thanks @987Nabil! ❤️ |
Is your feature request related to a problem? Please describe.
For now, it seems that there's no way to use a "providing middleware" on a
Routes
nor on anHttpApp
.It can only be used on a
Handler
, which means that to have some "private routes" I need to repeat the "providing middleware" in each route declaration:Describe the solution you'd like
It would be nicer to be able to do something like this:
The text was updated successfully, but these errors were encountered: