Commit cdbaf64
refactor: reverse execution order of interceptors in the after interceptor (#244)
# Description
This PR reverses the execution order of interceptors in the
interceptAfter method. It ensures symmetry with interceptBefore, meaning
the last interceptor called during the 'before' phase is the first one
called during the 'after' phase.
---------
Co-authored-by: Ivan Shymko <vana.shimko@gmail.com>1 parent 9706438 commit cdbaf64
File tree
2 files changed
+6
-8
lines changed- src/client
- test/client
2 files changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
| 385 | + | |
| 386 | + | |
389 | 387 | | |
390 | 388 | | |
391 | 389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
573 | 575 | | |
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
577 | 579 | | |
578 | | - | |
579 | | - | |
580 | | - | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| |||
0 commit comments