Skip to content

Comments

Fix: unique the route id when nested in the same route path#7135

Open
ClarkXia wants to merge 3 commits intorelease/nextfrom
fix/nested-router
Open

Fix: unique the route id when nested in the same route path#7135
ClarkXia wants to merge 3 commits intorelease/nextfrom
fix/nested-router

Conversation

@ClarkXia
Copy link
Collaborator

@ClarkXia ClarkXia commented Sep 2, 2025

This pull request addresses a bug in the route manifest generation where nested routes with the same path could end up with duplicate or conflicting route IDs. The main fix ensures that route IDs are unique even when nested routes share the same path, by incorporating the parent route's ID into the generated ID. The changes also update the relevant tests and snapshots to reflect the new, more descriptive and unique route IDs.

@ClarkXia ClarkXia requested review from XGHeaven and XXXMrG September 2, 2025 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants