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

have some sort of "warn" level #374

Open
hgschmie opened this issue Jan 31, 2024 · 1 comment
Open

have some sort of "warn" level #374

hgschmie opened this issue Jan 31, 2024 · 1 comment

Comments

@hgschmie
Copy link

We are shipping new features annotated with specific annotations (@Alpha and @Beta). I added those as excludes, so adding a new feature does not count e.g. against semantic versioning (I can ship a new feature annotated as @Beta and still only increase patch level).

It would be nice to have those reported as "warn" (IAW reported but not breaking the build). While we are fine with shipping patches with alpha and beta-quality features, getting a heads up that when we turn the beta off, this might break compatibility (especially backwards compatibility) would be a good thing.

Is there a way to define some excludes as "warn but not fail". We have other includes where we don't want warning or excluding at all. I can define includes and excludes but there does not seem to be a way to define a "third" category.

@siom79
Copy link
Owner

siom79 commented Feb 15, 2024

Currently there is no such feature.

But I think it would be not that hard to implement. If the exclude-Tag would be extended by an attribute that indicates only "warning", the IncompatibleErrorOutput class would have to be extended around this line to check if the corresponding element was excluded with warning only.

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

No branches or pull requests

2 participants