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,12 @@
|
||||
== @Size on an Integer compiles, and fails when first validated
|
||||
jakarta.validation.UnexpectedTypeException
|
||||
HV000030: No validator could be found for constraint 'jakarta.validation.constraints.Size' validating type 'java.lang.Integer'. Check configuration for 'quantity'
|
||||
|
||||
== @NotBlank on an Integer
|
||||
HV000030: No validator could be found for constraint 'jakarta.validation.constraints.NotBlank' validating type 'java.lang.Integer'. Check configuration for 'quantity'
|
||||
|
||||
== an unescaped dot in @Email(regexp): value a@bcom
|
||||
strict: must be a well-formed email address
|
||||
|
||||
== @Positive plus @Min(18) on age = -1 reports both
|
||||
age: must be greater than 0 | age: must be greater than or equal to 18
|
||||
Reference in New Issue
Block a user