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

Adds additional event id subparts to DefaultTrait violations that pre… #1780

Merged
merged 1 commit into from
May 22, 2023

Conversation

rchache
Copy link
Contributor

@rchache rchache commented May 19, 2023

…viously collided

Issue #, if available:

Description of changes:
When specifying an invalid default, it may be invalid for both the member range and the targeted shape root range. This previously resulted in two violations with the same target shape and eventId, which this PR improves by making the eventId include the specific scope of the range being violated

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

@rchache rchache requested a review from a team as a code owner May 19, 2023 18:47
@sugmanue sugmanue merged commit ee4977b into smithy-lang:main May 22, 2023
syall pushed a commit to Xtansia/smithy that referenced this pull request Aug 11, 2023
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