fix(combine): halt middleware evaluation if error in `next()` (#3905)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* test(combine): add test for error in next function Co-authored-by: satoshun00 <satou-s@aidemy.co.jp> * fix(combine): halt middleware evaluation if error in `next()` * refactor(combine): simplify next function handling * fix(combine): do not call skipped middleware even if next function throws an error with returning truthy value middleware * test(combine): refactor test code * test(combine): Modified tests to cover modified cases ---------
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: satoshun00 <satou-s@aidemy.co.jp>
Diff stats
2 files+53 added−3 removed
- tests:+42 added−0 removed
- other:+11 added−3 removed