-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[kit-routes] Support array search params #580
Comments
Sounds legit 😉 |
Acutally, the only thing is to add types to the function, like https://github.com/jycouet/kitql/pull/583/files#diff-428c41f044580b0012cca0f191f227b016994088c35ee306a1ad47d70419ae23R186 No? It's already adding a coma between values. (https://github.com/jycouet/kitql/pull/583/files#diff-33237037534b3bac096fcb3f8659e1b83232daf3002470f75d37f3f9d7104c07) So the I think that it's all good with this PR #583 but I want to make sure I understand all of it. Please let me know before I merge and publish 👍 |
@all-contributors please add @fehnomenal for example |
I've put up a pull request to add @fehnomenal! 🎉 |
Yeah you're right, it does not crash, I got misled by the type errors. But there is a difference between I opened #585 as an alternative approach. If you find it to complex just close it 😄 |
OMG, I didn't know it was allowed to have multiple I like the idea of your PR by supporting multiple use-cases ✅ |
Should be available in |
Is your feature request related to a problem? Please describe.
I want to configure the following:
but this fails in the generated file because
appendSp
converts all params to strings:Describe the solution you'd like
appendSp
should also acceptstring[]
andnumber[]
and append them. I guess something like this should work:Describe alternatives you've considered
Not setting the search params explicitely.
Additional context
Thank you very much for this plugin 🤗
The text was updated successfully, but these errors were encountered: