Skip to content

Commit f47dc1b

Browse files
committed
review
1 parent dd3f803 commit f47dc1b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

messenger.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -2295,8 +2295,10 @@ when building absolute URLs.
22952295
22962296
22972297
Add the ``validation`` middleware if you need to validate the message object before handling it.
2298-
Internally it uses the Symfony's validator. If validation fails, a ``ValidationFailedException``
2299-
will be thrown that you can catch and read errors from.
2298+
Internally it uses the Symfony's validator. The :class:`Symfony\\Component\\Messenger\\Stamp\\ValidationStamp` should
2299+
be used to configure the validation groups. If validation fails,
2300+
a ``ValidationFailedException`` will be thrown that you can catch
2301+
and read errors from.
23002302

23012303

23022304
Messenger Events

0 commit comments

Comments
 (0)