8000 chore: disable auto-validation on entities · Kocal/symfony-app-template@4d4f20b · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 4d4f20b

Browse files
committed
chore: disable auto-validation on entities
See api-platform/api-platform#1211
1 parent 92a00f2 commit 4d4f20b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config/packages/validator.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
framework:
22
validation:
33
email_validation_mode: html5
4-
54
# Enables validator auto-mapping support.
65
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
7-
auto_mapping:
8-
App\Entity\: []
6+
#auto_mapping:
7+
# App\Entity\: []

0 commit comments

Comments
 (0)
0