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

chore(protocol_tests): updates for latest protocol tests #1770

Merged
merged 5 commits into from
Dec 14, 2020

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Dec 11, 2020

This PR will be paired with one to awslabs/smithy-typescript: smithy-lang/smithy-typescript#246

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


chore: update codegen plugin version and deps


fix: fix issues in query and xml serde

This commit fixes issues regarding the @sparse trait and null
structure value serialization in the awsQuery, ec2Query, and restXml
AWS protocols.


fix: several issues in JSON protocol serde generation

This commit fixes several issues when generating code for JSON
related AWS protocols discovered when incorporating the newest AWS
protocol tests. It contains the following fixes:

  • Fixes issues around the handling of the @sparse trait.
  • Fixes issues in serializing null values of structure members.
  • Fixes issues loading error codes for RPC JSON protocols.
  • Fixes deserializing document type payload responses.

chore: update generated protocol tests


fix: fix issues in some service models

@kstich
Copy link
Contributor Author

kstich commented Dec 11, 2020

Taking a look at conflicting files.

protocol_tests/aws-restxml/package.json Outdated Show resolved Hide resolved
This commit fixes issues regarding the `@sparse` trait and null
structure value serialization in the awsQuery, ec2Query, and restXml
AWS protocols.
This commit fixes several issues when generating code for JSON
related AWS protocols discovered when incorporating the newest AWS
protocol tests. It contains the following fixes:

* Fixes issues around the handling of the `@sparse` trait.
* Fixes issues in serializing null values of structure members.
* Fixes issues loading error codes for RPC JSON protocols.
* Fixes deserializing document type payload responses.
@kstich kstich force-pushed the protocol_test_fixes branch from 6938e1a to b8d44ce Compare December 12, 2020 01:43
@kstich
Copy link
Contributor Author

kstich commented Dec 12, 2020

Conflicting file issues have been resolved. CI failing because of codegen package version change which will need smithy-lang/smithy-typescript#246 merged to succeed.

Copy link
Member

@trivikr trivikr left a comment

Choose a reason for hiding this comment

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

Verified that Java CI is successful when run locally with changes from smithy-lang/smithy-typescript#246

@trivikr trivikr changed the title chore: updates for latest protocol tests chore(protocol_tests): updates for latest protocol tests Dec 14, 2020
@trivikr trivikr merged commit e22d9ef into master Dec 14, 2020
@trivikr trivikr deleted the protocol_test_fixes branch December 14, 2020 05:56
@github-actions
Copy link

github-actions bot commented Jan 8, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants