Add validation module: Bean Validation on Spring Boot 4.2.0 with Hibernate Validator 9.1.6, built-in and custom constraints, groups, method validation, ProblemDetail errors, message i18n, JPA integration and tests, with real transcripts
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4RzcCS5JCAgcxLz7T
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
== nested object with @Valid
|
||||
item.name: must not be blank
|
||||
|
||||
== nested object without @Valid
|
||||
(no violations)
|
||||
|
||||
== List<@Valid Item>
|
||||
items[1].name: must not be blank
|
||||
|
||||
== @Valid List<Item>
|
||||
items[1].name: must not be blank
|
||||
|
||||
== List<@NotBlank String> and a nested record, all wrong
|
||||
address.city: must not be blank | address.pinCode: PIN code must be 6 digits | roles[1].<list element>: must not be blank
|
||||
Reference in New Issue
Block a user