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

[RFR] Correctly parse array values from query-string in Create #2373

Merged
merged 1 commit into from
Oct 1, 2018

Conversation

djhi
Copy link
Contributor

@djhi djhi commented Oct 1, 2018

The current behavior (default of query-string) prevent passing an array with a single value as it will be considered as a field of the value's type instead of an array of that type.

This prevents passing array of references containing a single reference.

The current behavior ([default](https://github.com/sindresorhus/query-string#arrayformat) of `query-string`) prevent passing an array with a single value as it will be considered as a field of the value type instead of an array of that type.

This prevents passing array of references containing a single reference.
@djhi djhi added this to the 2.3.3 milestone Oct 1, 2018
@fzaninotto fzaninotto merged commit 1fb8bf0 into master Oct 1, 2018
@fzaninotto fzaninotto deleted the create-query-string-arrays branch October 1, 2018 16:50
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

Successfully merging this pull request may close these issues.

2 participants