-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(router-core): validate params while matching #5936
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
Merged
Sheraff
merged 28 commits into
main
from
feat-router-core-validate-params-while-matching
Jan 8, 2026
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d9e403b
feat(router-core): validate params while matching
Sheraff 77aade6
Merge branch 'main' into feat-router-core-validate-params-while-matching
Sheraff 2fd3009
more wip
Sheraff 102ef3c
Merge branch 'main' into feat-router-core-validate-params-while-matching
Sheraff c9f0f62
Merge branch 'main' into feat-router-core-validate-params-while-matching
Sheraff b9c416a
introduce index node and pathless node
Sheraff 9b08317
Merge branch 'main' into feat-router-core-validate-params-while-matching
Sheraff 5e0ea27
merge typo
Sheraff fca20ce
more post-merge fixes
Sheraff c577ce9
don't handle regular parsing, only skip parsing
Sheraff 0353059
fix sorting
Sheraff c67704e
format
Sheraff c221f3e
remove error from types, its currently unused
Sheraff 1a3df20
format
Sheraff 152a6bf
collect rawParams and parsedParams instead of just 'params'
Sheraff 725b764
accumulating parsed params shouldn't mutate the branch, shallow copy …
Sheraff 7f821bf
fix renaming
Sheraff c96fdc7
new skip API options
Sheraff 8b78730
update snapshot
Sheraff 6b9d31b
pathless nodes can match beyond path length
Sheraff c35ac00
ai generated tests, seem good, but should review more deeply
Sheraff cac7a3b
improve tests
Sheraff eed4b0b
docs
Sheraff 40b9428
fix jsdoc
Sheraff 086f196
Merge branch 'main' into feat-router-core-validate-params-while-matching
Sheraff 50227f6
no docs for now, will do in a separate PR
Sheraff 1a51a43
fix parsing priority sorting
Sheraff d826289
remove working tests
Sheraff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a JSDoc annotation for
@experimentalmentioned this can change. Maybe even a link to the docs RouteOptionsType reference page.If you search the codebase we should have something similar to copy off of marked with
@link.