Skip to content

Added in support to allow mulitple values for a single query parameter#121

Open
pddivine wants to merge 1 commit into
kndt84:masterfrom
pddivine:support-query-param-with-multiple-values
Open

Added in support to allow mulitple values for a single query parameter#121
pddivine wants to merge 1 commit into
kndt84:masterfrom
pddivine:support-query-param-with-multiple-values

Conversation

@pddivine

Copy link
Copy Markdown

This update allows for multiple values to be specified for a single query parameter, as in the following:

queryParams: {
      param0: [ 'value1' , 'value2', value3' ],
      param1: 'value4'
}

The resulting query string will be something like:

?param0=value1&param0=value2&param0=value3&param1=value4

This has been tested on an existing use case

@tb-campbell

Copy link
Copy Markdown

@kndt84 could you review this PR when you have a chance? I've run into a need for this functionality as well

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