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
Commit 1ef0964
Browse filesBrowse the repository at this point in the historyBrowse files
fix(resolve): omit empty optional params from resolved params (#2434)
Optional params that don't match a segment are no longer set to `''` in
the resolved `params` object; the key is now absent. This matches how
the same route resolves by name and fixes#2419.
Code that checks `params.p === ''` to detect a missing optional param
should use `!params.p` instead as it works with both old and new behavior.
Co-authored-by: Eduardo San Martin Morote <[email protected]>
0 commit comments