Skip to content

downgrade severity of proto index event#277

Merged
a-morales merged 1 commit into
mainfrom
downgrade-index-event
May 12, 2026
Merged

downgrade severity of proto index event#277
a-morales merged 1 commit into
mainfrom
downgrade-index-event

Conversation

@lewisjkl
Copy link
Copy Markdown
Contributor

This is for open enumerations. We have some internal use cases where open enums are translated to proto enums which are open in proto 3 anyway. I think we should align the alloy and smithy translate behavior on this in the future, but for now downgrading this will unblock some use cases and we can revisit in the future.

This is for open enumerations. We have some internal use cases where open enums are translated to proto enums which are open in proto 3 anyway. I think we should align the alloy and smithy translate behavior on this in the future, but for now downgrading this will unblock some use cases and we can revisit in the future.
@@ -114,7 +114,7 @@ private List<ValidationEvent> validateShape(Model model, Shape shape) {
} else {
openEnumChecks = Stream.of(ValidationEvent.builder().id(OPEN_ENUM_MUST_NOT_HAVE_INDEXES)
.message("Members of enumeration" + shape + "must not have the `@protoIndex` trait applied.")
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping the message the same in case someone has logic built off of it.

@a-morales a-morales merged commit cb43e1e into main May 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants