Skip to content

Conversation

@richardwang1124
Copy link
Contributor

@richardwang1124 richardwang1124 commented Dec 16, 2025

Fixes #3325.

During protocol selection, JSON is prioritized over CBOR for performance reasons (#3256). However, this customized behavior was not reflected in stubbed clients. This PR adds a fix to prioritize JSON over CBOR for stubbed clients.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

  1. To make sure we include your contribution in the release notes, please make sure to add description entry for your changes in the "unreleased changes" section of the CHANGELOG.md file (at corresponding gem). For the description entry, please make sure it lives in one line and starts with Feature or Issue in the correct format.

  2. For generated code changes, please checkout below instructions first:
    https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md

Thank you for your contribution!

Copy link
Contributor

@jterapin jterapin left a comment

Choose a reason for hiding this comment

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

LGTM

@richardwang1124 richardwang1124 merged commit 4cb81c3 into version-3 Dec 16, 2025
28 checks passed
@richardwang1124 richardwang1124 deleted the fix/protocol-stubbing branch December 16, 2025 17:26
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.

aws-sdk-cloudwatch 1.126.0 breaks stubbing

2 participants