Skip to content

Commit 1665428

Browse files
committed
Remove ignoreUnsupportedConstraintTraits from integration test models
Now that constraint traits are supported in server SDKs (with some corner case caveats, see #1401), we can remove `ignoreUnsupportedConstraintTraits` from the codegen config of the integration test models.
1 parent 92316f7 commit 1665428

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

codegen-server-test/build.gradle.kts

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -61,40 +61,21 @@ val allCodegenTests = "../codegen-core/common-test-models".let { commonModels ->
6161
"constraints",
6262
imports = listOf("$commonModels/constraints.smithy"),
6363
),
64-
CodegenTest(
65-
"aws.protocoltests.restjson#RestJson",
66-
"rest_json",
67-
// TODO(https://github.com/awslabs/smithy-rs/issues/1401) `@uniqueItems` is used.
68-
extraConfig = """, "codegen": { "ignoreUnsupportedConstraints": true } """,
69-
),
64+
CodegenTest("aws.protocoltests.restjson#RestJson", "rest_json"),
7065
CodegenTest(
7166
"aws.protocoltests.restjson#RestJsonExtras",
7267
"rest_json_extras",
7368
imports = listOf("$commonModels/rest-json-extras.smithy"),
7469
),
75-
CodegenTest(
76-
"aws.protocoltests.restjson.validation#RestJsonValidation",
77-
"rest_json_validation",
78-
extraConfig = """, "codegen": { "ignoreUnsupportedConstraints": true } """,
79-
),
70+
CodegenTest("aws.protocoltests.restjson.validation#RestJsonValidation", "rest_json_validation"),
8071
CodegenTest("aws.protocoltests.json10#JsonRpc10", "json_rpc10"),
81-
CodegenTest(
82-
"aws.protocoltests.json#JsonProtocol",
83-
"json_rpc11",
84-
extraConfig = """, "codegen": { "ignoreUnsupportedConstraints": true } """,
85-
),
72+
CodegenTest("aws.protocoltests.json#JsonProtocol", "json_rpc11"),
8673
CodegenTest(
8774
"aws.protocoltests.misc#MiscService",
8875
"misc",
8976
imports = listOf("$commonModels/misc.smithy"),
90-
// TODO(https://github.com/awslabs/smithy-rs/issues/1401) `@uniqueItems` is used.
91-
extraConfig = """, "codegen": { "ignoreUnsupportedConstraints": true } """,
92-
),
93-
CodegenTest(
94-
"com.amazonaws.ebs#Ebs", "ebs",
95-
imports = listOf("$commonModels/ebs.json"),
96-
extraConfig = """, "codegen": { "ignoreUnsupportedConstraints": true } """,
9777
),
78+
CodegenTest("com.amazonaws.ebs#Ebs", "ebs", imports = listOf("$commonModels/ebs.json")),
9879
CodegenTest("com.amazonaws.s3#AmazonS3", "s3"),
9980
CodegenTest(
10081
"com.aws.example.rust#PokemonService",

0 commit comments

Comments
 (0)