Skip to content

Improve support to the dictionary returned by ParseQuery #20133

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

Merged
merged 15 commits into from
Mar 31, 2020
Merged

Improve support to the dictionary returned by ParseQuery #20133

merged 15 commits into from
Mar 31, 2020

Conversation

FranklinWhale
Copy link
Contributor

@FranklinWhale FranklinWhale commented Mar 25, 2020

Summary of the changes (Less than 80 chars)

  • Make AddQueryString(string uri, IEnumerable<KeyValuePair<string, string>> queryString) public
  • Add AddQueryString(string uri, IEnumerable<KeyValuePair<string, StringValues>> queryString)
  • Update the summary of AddQueryString(string uri, IDictionary<string, string> queryString)
  • Add QueryBuilder(IEnumerable<KeyValuePair<string, StringValues>> parameters)

Addresses #7945

…ng>> queryString) public

Also update the summary of AddQueryString(string uri, IDictionary<string, string> queryString)
@dnfclas
Copy link

dnfclas commented Mar 25, 2020

CLA assistant check
All CLA requirements met.

Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs at least one test calling each of the new APIs.

@Tratcher
Copy link
Member

@Tratcher Tratcher self-assigned this Mar 25, 2020
@analogrelay analogrelay added this to the 5.0.0-preview3 milestone Mar 25, 2020
@FranklinWhale FranklinWhale changed the title Make AddQueryString more flexible Improve support to the dictionary returned by ParseQuery Mar 27, 2020
@FranklinWhale
Copy link
Contributor Author

@Tratcher I think this PR is ready for review again. Thanks!

Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One piece of test feedback and I think this is good to go. Thanks.

@FranklinWhale
Copy link
Contributor Author

@Tratcher I have removed the brackets in the test cases. Unfortunately, getting this PR to pass all CI tests seems very difficult...

@Tratcher Tratcher merged commit 9249a95 into dotnet:master Mar 31, 2020
@Tratcher
Copy link
Member

Thanks

@FranklinWhale FranklinWhale deleted the patch-1 branch March 31, 2020 17:36
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants