Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove suppressing internal tagged enum shape members #1746

Merged

Conversation

srchase
Copy link
Contributor

@srchase srchase commented Apr 20, 2023

This PR updates the restJson1 validation protocol tests so that internal tagged enums shape members are no longer suppressed from the validation message. Only enum shape members tagged with the @internal trait are suppressed from a validation message.

Enum traits that are tagged as "internal" are still expected to be suppressed from the validation message, as traits cannot be applied to an enum trait definition, leaving the "internal" tag as the only way to suppress an enum value from the validation message.

See #1737.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@srchase srchase merged commit 5948784 into smithy-lang:main Apr 20, 2023
@srchase srchase deleted the update-internal-tag-validation-test branch April 20, 2023 22:54
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.

2 participants