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

Request: Add option to store array params as comma-separated list #285

Open
nico-martinucci opened this issue Feb 1, 2024 · 1 comment

Comments

@nico-martinucci
Copy link

There seem to generally be two accepted methods of storing arrays in params:

?foo=bar&foo=qux

...and...

?foo=bar,qux

This library currently uses the former, but other backend filtering libraries assume params will becoming in formatted like the latter. Would be great to have either a different param type or some sort of option to store array params in the latter format for this purpose.

@pbeshai
Copy link
Owner

pbeshai commented Feb 2, 2024

Try using DelimitedArrayParam for this use case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants