You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Issue #, if available:*
*Description of changes:*
Adds the fix for empty blob, based on the test case here:
https://github.com/aws/private-aws-encryption-sdk-javascript-staging/pull/768/files
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
Co-authored-by: Shubham Chaturvedi <scchatur@amazon.com>
Copy file name to clipboardExpand all lines: codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/smithygo/awssdk/shapevisitor/AwsSdkToDafnyShapeVisitor.java
Copy file name to clipboardExpand all lines: codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/smithygo/awssdk/shapevisitor/DafnyToAwsSdkShapeVisitor.java
+2-1
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ public String blobShape(final BlobShape shape) {
133
133
: dataSource;
134
134
return"""
135
135
func () []byte {
136
-
var b []byte
136
+
b := []byte{}
137
137
if %s == nil {
138
138
return nil
139
139
}
@@ -488,6 +488,7 @@ public String stringShape(final StringShape shape) {
Copy file name to clipboardExpand all lines: codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/smithygo/localservice/shapevisitor/DafnyToSmithyShapeVisitor.java
Copy file name to clipboardExpand all lines: codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/smithygo/localservice/shapevisitor/SmithyToDafnyShapeVisitor.java
0 commit comments