Commit 6a86d7e
Use plain 'route'/'matchedPath' keys in the request container
The framework already exposes per-request resources under plain names
('request', 'response', 'error', 'server', 'route'), so the namespaced
sentinel constants were inconsistent. Drop them and use the same
convention. As a side effect, 'matchedPath' is now injectable into hooks
and actions like any other request resource.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b226bf5 commit 6a86d7e
1 file changed
Lines changed: 4 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 106 | | |
117 | 107 | | |
118 | 108 | | |
| |||
468 | 458 | | |
469 | 459 | | |
470 | 460 | | |
471 | | - | |
| 461 | + | |
472 | 462 | | |
473 | 463 | | |
474 | 464 | | |
475 | 465 | | |
476 | 466 | | |
477 | 467 | | |
478 | 468 | | |
479 | | - | |
| 469 | + | |
480 | 470 | | |
481 | 471 | | |
482 | 472 | | |
| |||
490 | 480 | | |
491 | 481 | | |
492 | 482 | | |
493 | | - | |
| 483 | + | |
494 | 484 | | |
495 | 485 | | |
496 | 486 | | |
497 | 487 | | |
498 | | - | |
| 488 | + | |
499 | 489 | | |
500 | 490 | | |
501 | 491 | | |
| |||
0 commit comments