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 @Check methods when beans are validated by CDI + Bean Validation #7316

Open
adutra opened this issue Aug 1, 2023 · 0 comments
Open

Comments

@adutra
Copy link
Contributor

adutra commented Aug 1, 2023

Some model API classes are validated both by a @Check method and by Bean Validation annotations, e.g. org.projectnessie.api.v2.params.Merge.

Having both mechanisms is redundant. It should be OK to remove the @Check methods.

For context: the @Check methods might have been introduced because bean validation was disabled in JAX-RS tests until recently, see #7193.

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

1 participant