Skip to content

Commit

Permalink
set doctrine.orm.controller_resolver.auto_mapping: true (#738)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
asdfzdfj committed Apr 30, 2024
1 parent 63753ff commit 484acd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ doctrine:
validate_xml_mapping: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true
controller_resolver:
auto_mapping: true
mappings:
App:
type: attribute
Expand Down

0 comments on commit 484acd6

Please sign in to comment.