Skip to content

Optimize deprecated trait validation#1162

Merged
mtdowling merged 1 commit intomainfrom
optimize-deprecated-trait-validation
Mar 28, 2022
Merged

Optimize deprecated trait validation#1162
mtdowling merged 1 commit intomainfrom
optimize-deprecated-trait-validation

Conversation

@mtdowling
Copy link
Copy Markdown
Member

This validator previously looked for anything marked as deprecated then
checked to see if anything used that shape as a trait. However, the
intent was to find traits that are deprecated and applied to a shape.
The previous behavior would attempt to check if any shape, including
members, were applied as traits to shapes, which is impossible.

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

This validator previously looked for anything marked as deprecated then
checked to see if anything used that shape as a trait. However, the
intent was to find traits that are deprecated and applied to a shape.
The previous behavior would attempt to check if any shape, including
members, were applied as traits to shapes, which is impossible.
@mtdowling mtdowling requested a review from a team as a code owner March 28, 2022 06:21
@mtdowling mtdowling merged commit af239da into main Mar 28, 2022
@mtdowling mtdowling deleted the optimize-deprecated-trait-validation branch April 8, 2022 05:31
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