Skip to content

Commit 484acd6

Browse files
authored
set doctrine.orm.controller_resolver.auto_mapping: true (#738)
it looks like doctrine bundle is about to deprecate controller auto mapping stuff, and it's giving out deprecation notice about this explicitly set doctrine.orm.controller_resolver.auto_mapping: true as suggested by deprecation notice to keep existing behavior and remove the notice see doctrine/DoctrineBundle#1762 for more info
1 parent 63753ff commit 484acd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/packages/doctrine.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ doctrine:
2222
validate_xml_mapping: true
2323
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
2424
auto_mapping: true
25+
controller_resolver:
26+
auto_mapping: true
2527
mappings:
2628
App:
2729
type: attribute

0 commit comments

Comments
 (0)