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

Correct smithy-diff nullability error messages #1972

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

mtdowling
Copy link
Member

These messages reflect a previous design in Smithy that was refactored to rename @nullable to @clientOptional, but these error messages and IDs were missed in Smithy-Diff. This change also simplifies the error message for adding a required trait to remove extra detail (this message is only presented when relevant so the detail isn't needed).

Issue #, if available:

Description of changes:

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

These messages reflect a previous design in Smithy that was refactored
to rename @nullable to @clientOptional, but these error messages and
IDs were missed in Smithy-Diff. This change also simplifies the error
message for adding a required trait to remove extra detail (this
message is only presented when relevant so the detail isn't needed).
@mtdowling mtdowling requested a review from a team as a code owner September 6, 2023 14:24
@mtdowling mtdowling merged commit 0a67811 into main Sep 6, 2023
@mtdowling mtdowling deleted the fix-nullability-error-messages branch September 11, 2023 18:21
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