Skip to content

Commit ea40b9b

Browse files
committed
Checkpoint
1 parent f7c17d6 commit ea40b9b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/smoketests/SmokeTestAwsVendorParamsIntegration.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ fun coerceParameterToModeledShape(
6969
symbolProvider: SymbolProvider
7070
) {
7171
if (customShape == null || customShape.isCompatibleWithNodeTypes) {
72-
writer.write("#L", param.format())
72+
writer.writeInline("#L", param.format())
7373
}
7474

75+
if (customShape != null) writer.write("// ${customShape::class.simpleName}")
76+
7577
when (customShape) {
7678
is DocumentShape -> {} // TODO: Unknown !
7779
is BlobShape -> {} // TODO: Unknown !
@@ -84,7 +86,7 @@ fun coerceParameterToModeledShape(
8486
is MemberShape -> {} // TODO: Important !
8587
is TimestampShape -> {} // TODO: Unknown !
8688
is UnionShape -> {} // TODO: Important !
87-
else -> throw Exception("Code generation unsupported for smoke test operation parameter '$name' of type '$customShape'.")
89+
// else -> throw Exception("Code generation unsupported for smoke test operation parameter '$name' of type '$customShape'.")
8890
}
8991
}
9092

settings.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ file("tests/codegen/smoke-tests/services").listFiles().forEach {
7575
if (it.isServiceDir) {
7676
include(":tests:codegen:smoke-tests:services:${it.name}")
7777
}
78+
}
7879

7980
if ("dynamodb".isBootstrappedService) {
8081
include(":hll:dynamodb-mapper")

0 commit comments

Comments
 (0)