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
Updates the TS protocol test stub to construct HttpResponse objects
using the class constructor, instead of with object syntax. The
constructor has optional parameters, so when updating the HttpResponse
implementation we can continue to pass old properties. Without using
the constructor, we have to change the HttpResponse interface and
protocol test codegen simulataneously to avoid breaking changes.
Copy file name to clipboardExpand all lines: smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/protocol-test-stub.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -57,11 +57,11 @@ class ResponseDeserializationTestHandler implements HttpHandler {
0 commit comments