-
Is it somehow possible to have a custom validator with a blocking call, like to a web service, without blocking? The interface ConstraintValidator does not have a Uni/CompletableFuture return type, there seems to be no reactive alternative. Is there another option without blocking? Are there maybe plans to add a reactive version of the validator? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
/cc @gsmet (hibernate-validator), @yrodiere (hibernate-validator) |
Beta Was this translation helpful? Give feedback.
-
You may be interested in this: #28421 (comment) Short answer: it's complicated, and Hibernate Validator/Bean Validation was not built for this. As to future plans, we'll consider merging pull requests as always, as long as they take into account the constraints mentioned in the issue. |
Beta Was this translation helpful? Give feedback.
You may be interested in this: #28421 (comment)
Short answer: it's complicated, and Hibernate Validator/Bean Validation was not built for this.
As to future plans, we'll consider merging pull requests as always, as long as they take into account the constraints mentioned in the issue.