Skip to content

Conversation

@radhgupta
Copy link
Member

@radhgupta radhgupta commented Jan 13, 2026

This pull request updates the logic for appending query parameters in the generated REST client code to ensure that duplicate query parameters are not added when handling "next link" requests (typically used for pagination). The changes introduce runtime checks to prevent reinjecting parameters that are already present in the query string, and update the relevant test cases to reflect this behavior.
Fixes: #9201

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Jan 13, 2026
@github-actions
Copy link
Contributor

No changes needing a change description found.

@radhgupta radhgupta marked this pull request as ready for review January 13, 2026 23:29
@radhgupta radhgupta added this pull request to the merge queue Jan 21, 2026
Merged via the queue into microsoft:main with commit ce52134 Jan 22, 2026
22 checks passed
@radhgupta radhgupta deleted the fix-9201 branch January 22, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider whether we need to check if maxpagesize should be reinjected

3 participants