Commit 8db8e56
Refactor: consolidate route container write in match()
match() already writes the matched route to the per-request container,
and runInternal() redundantly wrote it again right after calling match.
For the no-match case the duplicate write stored a null factory that
getRoute() already handles by returning null when the key is missing.
Drop the second write so match() is the single owner of the route
resource; the wildcard branch still sets it directly since it produces
its own cloned route.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 441bfed commit 8db8e56
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
922 | | - | |
923 | 921 | | |
924 | 922 | | |
925 | 923 | | |
| |||
0 commit comments