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 pattern from suppress trait entries #1455

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

mtdowling
Copy link
Member

The suppress trait contained a restrictive pattern trait that was not present in validator ID definitions. This meant that validation events could be suppressed in metadata suppressions (where there was no pattern validation), but not using the @suppress trait. Adding the pattern from the @suppress trait to validation event IDs at this point has the potential to break existing models, so that is not a desirable alternative.

Closes #987

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.

The suppress trait contained a restrictive pattern trait that was
not present in validator ID definitions. This meant that validation
events could be suppressed in metadata suppressions (where there was
no pattern validation), but not using the `@suppress` trait. Adding
the pattern from the `@suppress` trait to validation event IDs at
this point has the potential to break existing models, so that is
not a desirable alternative.

Closes #987
@mtdowling mtdowling requested a review from a team as a code owner October 19, 2022 23:13
@mtdowling mtdowling merged commit c45d5db into main Oct 19, 2022
@mtdowling mtdowling deleted the fix-suppress-trait-constraints branch October 24, 2022 16:26
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.

Mismatch in allowed chars for validator.id in definition v/s suppress trait
2 participants