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

CAMEL-16946: bean-validator, validate all elements if body is of type Iterable #6214

Merged
merged 2 commits into from Oct 6, 2021

Conversation

mschnitzler
Copy link
Contributor

This PR implements CAMEL-16946.
The bean-validator component checks if the body is of type Iterable. If so, then each element will be validated. Otherwise, the single element will be validated.
The corresponding tests have been changed to parameterized tests. Each test is executed with a single bean as well as with a collection of beans.

@davsclaus davsclaus merged commit b1e8f08 into apache:main Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants