You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2024. It is now read-only.
After looking at the project's documentation, and poking around with sunder for a bit, I was wondering if functionality exists to allow multiple middleware per route, say similar to koa-router.
If not, is that within the scope of any potential future work?
In any case, super awesome tool I'd love to use in the future!
The text was updated successfully, but these errors were encountered:
After messing around a bit more, was able to come up with a potentially simple-enough solution that allows for a variable number of middlewares on a given route declaration. With some cursory testing it appears to work without issue.
I think compose is the best answer here :). We could in the future allow multiple arguments instead (and if there are multiple, we call compose internally).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After looking at the project's documentation, and poking around with sunder for a bit, I was wondering if functionality exists to allow multiple middleware per route, say similar to koa-router.
If not, is that within the scope of any potential future work?
In any case, super awesome tool I'd love to use in the future!
The text was updated successfully, but these errors were encountered: