Skip to content

Commit

Permalink
Lower UnboundTestOperation to WARNING
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kstich committed Oct 24, 2024
1 parent 1261863 commit ce7b765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions smithy-aws-protocol-tests/model/shared-types.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ metadata validators = [
{
name: "EmitEachSelector"
id: "UnboundTestOperation"
severity: "WARNING"
message: "This operation in the AWS protocol tests is not bound to a service."
namespaces: [
// Overall protocol test suites.
Expand Down
1 change: 1 addition & 0 deletions smithy-protocol-tests/model/shared-types.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata validators = [
{
name: "EmitEachSelector"
id: "UnboundTestOperation"
severity: "WARNING"
message: "This operation in the Smithy protocol tests is not bound to a service."
namespaces: [
// Overall protocol test suites.
Expand Down

0 comments on commit ce7b765

Please sign in to comment.