We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following up on #1, it would be nice for iron-url to support more styles:
/path?foo[]=a&foo[]=b parsed into this.params.foo === ['a', 'b']
/path?foo[]=a&foo[]=b
this.params.foo === ['a', 'b']
/path?foo=a&foo=b parsed into this.params.foo === ['a', 'b']
/path?foo=a&foo=b
/path?foo[]=a parsed into this.params.foo === ['a']
/path?foo[]=a
this.params.foo === ['a']
/path?foo=a parsed into this.params.foo === 'a'
/path?foo=a
this.params.foo === 'a'
Express uses qs to do this: https://github.com/hapijs/qs/blob/master/test/parse.js#L73
The text was updated successfully, but these errors were encountered:
I can file a PR if this proposal looks OK.
Sorry, something went wrong.
I would also really want/need this. I would add one more:
/path?foo=a&foo[]=b parsed into this.params.foo === ['a', 'b'] /path?foo[]=a&foo=b parsed into this.params.foo === ['a', 'b']
Can you please make a pull request? :-)
No branches or pull requests
Following up on #1, it would be nice for iron-url to support more styles:
/path?foo[]=a&foo[]=b
parsed intothis.params.foo === ['a', 'b']
/path?foo=a&foo=b
parsed intothis.params.foo === ['a', 'b']
/path?foo[]=a
parsed intothis.params.foo === ['a']
/path?foo=a
parsed intothis.params.foo === 'a'
Express uses qs to do this: https://github.com/hapijs/qs/blob/master/test/parse.js#L73
The text was updated successfully, but these errors were encountered: