feat(core): Add route provider API for parameterized route resolution - #23551
Draft
logaretm wants to merge 1 commit into
Draft
feat(core): Add route provider API for parameterized route resolution#23551logaretm wants to merge 1 commit into
logaretm wants to merge 1 commit into
Conversation
14 tasks
Contributor
size-limit report 📦
|
logaretm
force-pushed
the
awad/route-provider-api
branch
2 times, most recently
from
August 24, 2026 20:52
5e49315 to
905570f
Compare
Framework SDKs can register a provider that resolves a URL to a low-cardinality route name, so integrations stop each reaching for the route their own way. Wires up `bfcacheIntegration` as the first consumer: its segment name ends up as a metric dimension, where an unparameterized URL is unbounded cardinality.
logaretm
force-pushed
the
awad/route-provider-api
branch
from
August 24, 2026 20:57
905570f to
488ffe0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the route provider API to core so framework SDKs can register how to resolve a URL to a parameterized route, and wires up
bfcacheIntegrationas the first consumer since that is where the fragmentation currently produces a raw URL on a metric dimension.bfcachekeeps its pathname fallback, so nothing changes until a provider is registered.closes #23556