The ParameterScriptAssert doc example is not working. arg0, arg1 ,arg2, etc are not passed to the script evaluations, at least in current implementation. See https://github.com/hibernate/hibernate-validator/blob/60e5c17bfbe709f32018e97a483f6011093587fe/engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/ParameterScriptAssertValidator.java#L61-L68 |