Skip to content

Commit 37cf4cc

Browse files
marko-bekhtageoand
authored andcommitted
Adjust the note on constraint declaration in XML
1 parent 7513799 commit 37cf4cc

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
@@ -585,7 +585,8 @@ so that we could register the appropriate classes for reflection.
585585

586586
To configure the `ValidatorFactory`, use the exposed configuration properties and the CDI integration.
587587

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

590591
=== ValidatorFactory and native executables
591592

0 commit comments

Comments
 (0)