Skip to content

Commit a77999d

Browse files
committed
Adjust the note on constraint declaration in XML
1 parent e844c17 commit a77999d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/main/asciidoc/validation.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@ so that we could register the appropriate classes for reflection.
526526

527527
To configure the `ValidatorFactory`, use the exposed configuration properties and the CDI integration.
528528

529-
Consequently, the only way to define constraints in Quarkus is by annotating your classes.
529+
While configuration of the validator factory is not possible through XML, constraint declaration is.
530+
Quarkus accepts constraints defined by annotations in your classes or in the `validation.xml`.
530531

531532
=== ValidatorFactory and native executables
532533

0 commit comments

Comments
 (0)