[ ] ๐ Documentation (updates to the documentation, readme or JSdoc annotations)
[x] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Resolves #2920
This PR changes the route resolution to take into account the change in https://github.com/vuejs/router/pull/2189, this broke switchLocalePath as Vue Router now prioritizes fullPath during resolution if present to prevent unnecessarily encoding/decoding.
Small changes to the routing tests had to be made but these actually show that the route is resolved more accurately as query parameter order is preserved.
๐ Linked issue
2920
โ Type of change
๐ Description
Resolves #2920
This PR changes the route resolution to take into account the change in https://github.com/vuejs/router/pull/2189, this broke
switchLocalePath
as Vue Router now prioritizesfullPath
during resolution if present to prevent unnecessarily encoding/decoding.Small changes to the routing tests had to be made but these actually show that the route is resolved more accurately as query parameter order is preserved.
๐ Checklist