Skip to content

Commit d7e87f6

Browse files
committed
Minor tweaks
1 parent e2a8552 commit d7e87f6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

reference/constraints/AtLeastOneOf.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
AtLeastOneOf
22
============
33

4-
This constraint enables you to create a set of constraints,
5-
allowing to interrupt the validation once the first constraint is satisfied.
4+
This constraint checks that the value satisfies at least one of the given
5+
constraints. The validation stops as soon as one constraint is satisfied.
66

77
.. versionadded:: 5.1
88

@@ -25,9 +25,10 @@ Basic Usage
2525

2626
The following constraints ensure that:
2727

28-
* the ``password`` of a ``Student`` either contains ``#`` or is at least ``10`` characters long
29-
* the ``grades`` of a ``Student`` is an array which contains at least ``3`` elements or
30-
that each element is greater than or equal to ``5``
28+
* the ``password`` of a ``Student`` either contains ``#`` or is at least ``10``
29+
characters long;
30+
* the ``grades`` of a ``Student`` is an array which contains at least ``3``
31+
elements or that each element is greater than or equal to ``5``.
3132

3233
.. configuration-block::
3334

0 commit comments

Comments
 (0)