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

serialize empty strings and lists to headers in restXml and restJson1 #2403

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Sep 23, 2024

Background

  • What do these changes do?
    • changes header serialization test assertions to include empty strings and lists, but still exclude null
  • Why are they important?
    • absence and emptiness of headers differ in meaning

Testing

  • How did you test these changes?

Tested protocol-test codegen and test execution in smithy-typescript + aws-sdk-js-v3

Links

smithy-lang/smithy-typescript#1412

@kuhe kuhe requested a review from a team as a code owner September 23, 2024 17:14
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