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,21 @@
|
||||
service is an AOP proxy: true
|
||||
|
||||
== createUser(good, "")
|
||||
jakarta.validation.ConstraintViolationException
|
||||
createUser.creatorToken: must not be blank
|
||||
|
||||
== createUser(null, "token")
|
||||
jakarta.validation.ConstraintViolationException
|
||||
createUser.user: must not be null
|
||||
|
||||
== displayName(0) - the RETURN value is invalid
|
||||
jakarta.validation.ConstraintViolationException
|
||||
displayName.<return value>: must not be blank
|
||||
|
||||
== createViaThis(good) - calls createUser(user, "") on this
|
||||
returned: created ravi
|
||||
no exception
|
||||
|
||||
== implementation adds @NotNull that the interface lacks
|
||||
jakarta.validation.ConstraintDeclarationException
|
||||
HV000151: A method overriding another method must not redefine the parameter constraint configuration, but method StricterGreeter#greet(String) redefines the configuration of Greeter#greet(String).
|
||||
Reference in New Issue
Block a user