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

Generics validation #9

Merged
merged 6 commits into from
Nov 24, 2022
Merged

Generics validation #9

merged 6 commits into from
Nov 24, 2022

Conversation

andriy-dmytruk
Copy link
Collaborator

Adds validation for generics such as List<@NotBlank String> orMap<String, List<@NotBlank String>>.
The DefaultValidator was modified to accommodate for the functionality. Refer to changes in tests for examples and details, like path display in this case.

Additionally, publisher validation was modified to be performed in form of Mono<@Valid Pojo>. Validation for single publishers (like Mono) was fixed.

@andriy-dmytruk andriy-dmytruk self-assigned this Nov 1, 2022
@graemerocher
Copy link
Contributor

@andriy-dmytruk shall I merge this?

@andriy-dmytruk andriy-dmytruk merged commit 2391474 into 4.0.x Nov 24, 2022
@andriy-dmytruk andriy-dmytruk deleted the generics-validation branch November 24, 2022 20:23
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.

2 participants