Skip to content

Commit 3443217

Browse files
kstichMYoung25
authored andcommitted
Lower UnboundTestOperation to WARNING
Consumers of this package using the `includeServices` transform may not also be running `removeUnusedShapes`, leaving behind operations that then trip this validation and cause an error. Lowering this to a warning still emits a message but doesn't block consumers until we find a better strategy for running this validation at Smithy-only build time.
1 parent 5001f53 commit 3443217

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

smithy-aws-protocol-tests/model/shared-types.smithy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ metadata validators = [
2222
{
2323
name: "EmitEachSelector"
2424
id: "UnboundTestOperation"
25+
severity: "WARNING"
2526
message: "This operation in the AWS protocol tests is not bound to a service."
2627
namespaces: [
2728
// Overall protocol test suites.

smithy-protocol-tests/model/shared-types.smithy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ metadata validators = [
1111
{
1212
name: "EmitEachSelector"
1313
id: "UnboundTestOperation"
14+
severity: "WARNING"
1415
message: "This operation in the Smithy protocol tests is not bound to a service."
1516
namespaces: [
1617
// Overall protocol test suites.

0 commit comments

Comments
 (0)