You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Router] Add defaultUrlMatcher to public API #35928
There should be ability to access defaultUrlMatcher from user's code.
Ability to access and use it in custom implementations of UrlMatcher will ease developing of custom url matchers like in this question: https://stackoverflow.com/a/41543827/5358442
There should be ability to import default URL matcher and call it from user-defined custom matcher.
Describe alternatives you've considered
Another solution of "my" case can be adding support of constraints for route params with few built-in constraints like Integer and Regex and ability to create custom constraints.
This could look something like this:
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Activity
amakhrov commentedon Nov 23, 2020
Public
defaultUrlMatcherwould make it quite simple to write a custom matcher that emulates a missing "multiple paths for the same route" capability.CarlosHAraujo commentedon Feb 9, 2021
+1
angular-robot commentedon Jun 4, 2021
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
angular-robot commentedon Jun 25, 2021
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
angular-automatic-lock-bot commentedon Sep 1, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.