mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #790] [MERGED] fix(app-router): apply slot override params to parallel slot segment map #849
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#849
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/790
Author: @NathanDrake2406
Created: 4/8/2026
Status: ✅ Merged
Merged: 4/8/2026
Merged by: @james-elicx
Base:
main← Head:fix/bug2-slot-override-segments📝 Commits (2)
2b1daf0fix(app-router): apply slot override params to slot segment map14dc4b5refactor(app-router): dedupe effective slot params lookup📊 Changes
2 files changed (+91 additions, -2 deletions)
View changed files
📝
packages/vinext/src/server/app-page-route-wiring.tsx(+5 -2)📝
tests/app-page-route-wiring.test.ts(+86 -0)📄 Description
Summary
slotOverride.paramswhen present, otherwise matched route params)app-page-route-wiringfor both override and non-override pathsTesting
vp check tests/app-page-route-wiring.test.ts packages/vinext/src/server/app-page-route-wiring.tsxvp test run tests/app-page-route-wiring.test.tsNotes
vp test run tests/app-router.test.ts -t "useSelectedLayoutSegments"is currently blocked in this worktree by an existing environment dependency error:Cannot find package 'magic-string'frompackages/vinext/src/plugins/instrumentation-client.ts.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.