Skip to content

Commit

Permalink
[Validator] Enable auto mapping by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Aug 3, 2021
1 parent e06589b commit 577e78a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions symfony/validator/4.4/config/packages/test/validator.yaml
8 changes: 8 additions & 0 deletions symfony/validator/4.4/config/packages/validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
framework:
validation:
email_validation_mode: html5

# Enables validator auto-mapping support.
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
auto_mapping:
App\Entity\: []
1 change: 1 addition & 0 deletions symfony/validator/4.4/manifest.json

0 comments on commit 577e78a

Please sign in to comment.