Skip to content

Commit 91891fe

Browse files
committed
validation - Updated name for default Validator (from "validator" to "hibernate.validator") [BREAKING]
1 parent 6989675 commit 91891fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

restx-validation/src/main/java/restx/validation/ValidatorFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
@Module
1818
public class ValidatorFactory {
19-
public static final String VALIDATOR_NAME = "validator";
19+
public static final String VALIDATOR_NAME = "hibernate.validator";
2020
public static final Name<Validator> VALIDATOR = Name.of(Validator.class, VALIDATOR_NAME);
2121

2222
@Provides @Named(VALIDATOR_NAME)

0 commit comments

Comments
 (0)