Skip to content
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

fix: resolveRoute losing query parameters for string routes #43

Merged

Conversation

BobbieGoede
Copy link
Member

@BobbieGoede BobbieGoede commented Aug 11, 2023

Description

Instead of treating _route of type string as a { path: _route }, the route is split by ? and the query parameters are converted into an object to be used later in resolution.

Linked Issues

Fixes #42
Downstream nuxt-modules/i18n#2020

@BobbieGoede BobbieGoede force-pushed the fix/resolve-route-string-query-loss branch 2 times, most recently from 8c074f1 to 92bee7b Compare August 11, 2023 12:35
@BobbieGoede BobbieGoede force-pushed the fix/resolve-route-string-query-loss branch from 92bee7b to d77bfc5 Compare August 11, 2023 13:16
@kazupon kazupon added the bug Includes new features label Aug 11, 2023
@kazupon kazupon merged commit 90f942b into intlify:main Aug 11, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Includes new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Query parameters removed when using localePath with string routes containing query parameters
2 participants