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

Anyway to allow multiple query parameters with same key ? #79

Open
RoXuS opened this issue Apr 25, 2017 · 0 comments
Open

Anyway to allow multiple query parameters with same key ? #79

RoXuS opened this issue Apr 25, 2017 · 0 comments

Comments

@RoXuS
Copy link

RoXuS commented Apr 25, 2017

Description

Many backend frameworks allow multiple query parameters with the same key. For example ?sort=a,desc&sort=b,desc

Expected outcome

queryObject shoud be like this : { sort: ['a,desc', 'b,desc'] }

Actual outcome

Only one key is handled : { sort: 'a,desc' }

Proposition

I propose the following PR : #80.
Is that acceptable?

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

1 participant