Skip to content

Commit ab09fbb

Browse files
pandalowryjaviereguiluz
authored andcommitted
config/validator/validation.yaml fix
Validations in yaml will not work for a student passing through this section, since # config/validation.yaml was set while in the documentation for the component https://symfony.com/doc/current/validation.html#the-basics- Of-validation clearly states that: "These rules are usually defined using PHP code or annotations but they can also be defined as a validation.yaml or validation.xml file inside the config/validator/ directory:"
1 parent b23ab4f commit ab09fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ object.
336336
337337
.. code-block:: yaml
338338
339-
# config/validation.yaml
339+
# config/validator/validation.yaml
340340
App\Entity\Task:
341341
properties:
342342
task:

0 commit comments

Comments
 (0)