Skip to content

Commit

Permalink
Merge branch '3.4' into 4.4
Browse files Browse the repository at this point in the history
* 3.4:
  Change wording 'in' to 'via'
  Update UniqueEntity.rst
  • Loading branch information
OskarStark committed Mar 2, 2020
2 parents e4aa99a + 94f7797 commit 541c6e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/constraints/UniqueEntity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ message

**type**: ``string`` **default**: ``This value is already used.``

The message that's displayed when this constraint fails. This message is always
mapped to the first field causing the violation, even when using multiple fields
in the constraint.
The message that's displayed when this constraint fails. This message is by default
mapped to the first field causing the violation. When using multiple fields
in the constraint, the mapping can be specified via the `errorPath`_ property.

Messages can include the ``{{ value }}`` placeholder to display a string
representation of the invalid entity. If the entity doesn't define the
Expand Down

0 comments on commit 541c6e5

Please sign in to comment.