Skip to content
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

Do not trim collection query param output values #764

Merged
merged 1 commit into from
May 18, 2023

Conversation

milesziemer
Copy link
Contributor

Description of changes:
Previously, server request deserializers would trim leading and trailing whitespace of output query parameter values. This PR stops that, so the whitespace is preserved as part of the query value.

Tested using JS SDK. All protocol tests continue to pass, there is a codegen diff.

This PR is required for smithy-lang/smithy#1759

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Previously, server request deserializers would trim leading
and trailing whitespace of output query parameter values. This
PR stops that, so the whitespace is preserved as part of the
query value.
@milesziemer milesziemer requested review from a team as code owners May 12, 2023 20:25
milesziemer added a commit to milesziemer/aws-sdk-js-v3 that referenced this pull request May 18, 2023
milesziemer added a commit to milesziemer/aws-sdk-js-v3 that referenced this pull request May 18, 2023
@trivikr trivikr changed the title dont trim collection query param output values Do not trim collection query param output values May 18, 2023
@trivikr trivikr merged commit 8e99be5 into smithy-lang:main May 18, 2023
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.

4 participants