fix(middleware/combine): prevent `c.req.routeIndex` from being changed (#3663)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* test(middleware/combine): add test for every middleware Co-authored-by: Paweł Dąbrowski <dabrowskip9@gmail.com> * refactor(compose): Loosen `compose` parameter types The current implementation of `compose` does not use some elements of the received middleware, so they do not have to be passed on. * fix(middleware/combine): prevent `c.req.routeIndex` from being changed ---------
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Paweł Dąbrowski <dabrowskip9@gmail.com>
Diff stats
3 files+32 added−14 removed
- tests:+16 added−0 removed
- other:+16 added−14 removed