generated from micronaut-projects/micronaut-project-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure validators accessible as beans from usingContext (#337)
* Ensure validators accessible as beans from usingContext The usingContext method of DefaultValidatoryFactory is updated to check for an existing non-null ValidatorConfiguration that is itself an instance of ValidatorContext (which will always be the case when created via DI). This allows custom validation constraints to be located in the BeanContext when validation is invoked by a Jakarta validation implementation. * Code improvement for Sonar
- Loading branch information
1 parent
8ffe4a6
commit 3f95ed1
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters