-
Notifications
You must be signed in to change notification settings - Fork 11
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
RouteConfigService pull url matcher. #72
Comments
For the proposal, make a POC where this is an operator that handles the edge case and is reusable:
|
Extend the RouteConfigService into a new service for combining the data from the resolver with the result from a route's URL matcher. Requirements:
How long will it take to build? What milestones exist (if applicable)?Milestone 1 - MVP service for URL matching (major version bump 1.3.0)
Est time: 4 hours remaining after the POC |
Comments from Chris:
|
This work should be followed with a blog post about the new service. This post should include:
|
@morgnism is the estimate based on the issues Chris raised in the POC? |
Is your feature request related to a problem? Please describe.
RouteConfigService
allows me to access thedata
property either from pathobject | Resolver
but doesn't yet access params from a custom route matcher, for example.Describe the solution you'd like
If using a custom matcher to return a new
UrlSegment
, that value is stored in params and accessed viaParamMap
. I'd like to be able to either:ActivatedRoute#ParamsMap
RouteConfigService
RouteConfigService
Describe alternatives you've considered
My specific use case required accessing resolved
data
from a parent route and accessing the returnedUrlSegment
from the route matcher then performing awithLatestFrom
to map the params fromActivatedRoute
:Addtional context
No response
The text was updated successfully, but these errors were encountered: