Calling urlFor() Doesn't Handle Query Params With serializeQueryParam()
Open
Routing
- Dominant language
- TypeScript
- Stars
- 22.6k
- Forks
- 4.2k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 15
Description
I have an object as one of my query-params, and serialization and deserialization works fine through serializeQueryParam and deserializeQueryParam; both linkTo and transitionToRoute work correctly with this query-param. However, calling router.urlFor() to check what the URL would be with the new query-param returns prior to serializeQueryParam being called, resulting in an incorrectly serialized query-param. Since both linkTo and transitionToRoute correctly route with this query-param, I expected router.urlFor() to work the same.
Contributor guide
Assessment
This issue has not been assessed yet.