Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduces support for nested wildcard routes (modular navigation) #25

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

Tiagoperes
Copy link
Contributor

When two navigation trees were merged, a shallow copy of the source tree was made to the target tree. This was ok, since we never expected a route with a wildcard to have children.

This is not ok anymore, since, because of new Stackspot requirements, we'll need a host to specify a deep route created by a module.

This PR adds support for nested wildcard routes by deep copying a navigation tree to another.

@Tiagoperes Tiagoperes merged commit eaaaa8e into main Aug 9, 2024
3 checks passed
@Tiagoperes Tiagoperes deleted the feat/deep-tree-merge branch August 9, 2024 13:06
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.

2 participants