Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.4.0 * fix: add @primary annotation for DefaultConstraintValidatorFactory A `ConstraintValidationFactory` aws added to Micronaut Validation in [PR 288](micronaut-projects/micronaut-validation#288). This PR sets the Hibernate Validator as the primary `ConstraintValidatorFactory` in case there are many in the classpath and avoids: ``` Caused by: io.micronaut.context.exceptions.NonUniqueBeanException: Multiple possible bean candidates found: [DefaultInternalConstraintValidatorFactory, DefaultConstraintValidatorFactory] ``` see: micronaut-projects/micronaut-sql#1266 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information