Skip to content

Allow filtering Violations #995

New issue

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

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

Already on GitHub? # to your account

Closed
odrotbohm opened this issue Dec 18, 2024 · 0 comments
Closed

Allow filtering Violations #995

odrotbohm opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
in: core Core module meta model type: improvement Minor improvements
Milestone

Comments

@odrotbohm
Copy link
Member

To easily ignore certain Violations resulting from a call to ApplicationModules.detectViolations() we should introduce API that allows creating a filtered Violations instance:

ApplicationModules.of(…)
  .detectViolations()
  .filter(…)
  .throwIfPresent();
@odrotbohm odrotbohm added in: core Core module meta model type: improvement Minor improvements labels Dec 18, 2024
@odrotbohm odrotbohm added this to the 1.3.1 milestone Dec 18, 2024
@odrotbohm odrotbohm self-assigned this Dec 18, 2024
@odrotbohm odrotbohm modified the milestones: 1.3.1, 1.4 M1 Dec 18, 2024
odrotbohm added a commit that referenced this issue Dec 18, 2024
odrotbohm added a commit that referenced this issue Dec 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
in: core Core module meta model type: improvement Minor improvements
Projects
None yet
Development

No branches or pull requests

1 participant