Skip to content

Commit

Permalink
make unionShape deserializer overridable
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Oct 16, 2023
1 parent 574fcee commit ed32290
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public final String structureShape(StructureShape shape) {
}

@Override
public final String unionShape(UnionShape shape) {
public String unionShape(UnionShape shape) {
context.getWriter().addImport("expectUnion", "__expectUnion", TypeScriptDependency.AWS_SMITHY_CLIENT);
return getDelegateDeserializer(shape, "__expectUnion(" + dataSource + ")");
}
Expand Down

0 comments on commit ed32290

Please sign in to comment.