Skip to content

Commit

Permalink
Add final to shape classes (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Mar 14, 2022
1 parent c91f69d commit 4e5c31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SotoCodeGeneratorLib/AwsService+shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ extension AwsService {
!$0.deprecated ? InitParamContext(parameter: $0.parameter, type: $0.type, default: $0.default) : nil
}
return StructureContext(
object: recursive ? "class" : "struct",
object: recursive ? "final class" : "struct",
name: shapeName.toSwiftClassCase(),
shapeProtocol: shapeProtocol,
payload: payloadMember?.key.toSwiftLabelCase(),
Expand Down

0 comments on commit 4e5c31e

Please sign in to comment.