Skip to content

Commit

Permalink
Fix the handling intEnum shapes when generating output value
Browse files Browse the repository at this point in the history
`intEnum` shapes aren't handled correctly when generating output value
provider. This one-line change fixes this issue.
  • Loading branch information
haydenbaker committed Nov 18, 2022
1 parent e12fe69 commit d8af13f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2677,6 +2677,7 @@ private String getNumberOutputParam(
context.getWriter().addImport(
"strictParseLong", "__strictParseLong", "@aws-sdk/smithy-client");
return "__strictParseLong(" + dataSource + ")";
case INT_ENUM:
case INTEGER:
context.getWriter().addImport(
"strictParseInt32", "__strictParseInt32", "@aws-sdk/smithy-client");
Expand Down

0 comments on commit d8af13f

Please sign in to comment.