Fix bean validation on suspending function parameters
This commit leverages Hibernate Validator's own internal use of standard Java reflection to perform validation on suspending function, which fixes the ArrayIndexOutOfBoundsException previously observed. Validation of suspending function return values remains unsupported as Hibernate Validator is not Coroutines aware. Closes gh-23499
This commit is contained in:
@@ -36,6 +36,7 @@ dependencies {
|
||||
testImplementation("org.apache.commons:commons-pool2")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("jakarta.inject:jakarta.inject-tck")
|
||||
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core")
|
||||
testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api")
|
||||
testRuntimeOnly("org.glassfish:jakarta.el")
|
||||
// Substitute for javax.management:jmxremote_optional:1.0.1_04 (not available on Maven Central)
|
||||
|
||||
Reference in New Issue
Block a user