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

Fix the handling intEnum shapes when generating output value #643

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

haydenbaker
Copy link
Contributor

intEnum shapes aren't handled correctly when generating output value provider. This one-line change fixes this issue.

Issue #, if available:
N/A

Description of changes:
When running protocol test generation, intEnum shapes aren't handled correctly in the output-value provider generation step of HttpBindingProtocolGenerator. This change address the following error:

Projection aws-protocoltests-restjson failed: software.amazon.smithy.codegen.core.CodegenException: Unexpected number shape `intEnum`

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

`intEnum` shapes aren't handled correctly when generating output value
provider. This one-line change fixes this issue.
@haydenbaker haydenbaker requested a review from a team as a code owner November 18, 2022 19:32
@haydenbaker haydenbaker merged commit f139025 into smithy-lang:main Dec 7, 2022
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.

None yet

2 participants