Skip to content

Commit

Permalink
set doctrine.orm.controller_resolver.auto_mapping
Browse files Browse the repository at this point in the history
it looks like doctrine bundle is about to deprecate
doctrine.orm.controller_resolver.auto_mapping and it's giving out
deprecation notice about this

explicitly set doctrine.orm.controller_resolver.auto_mapping: true as
suggested by deprecation log to keep existing behavior and remove the
notice

see doctrine/DoctrineBundle#1762 for more info
  • Loading branch information
asdfzdfj committed Apr 29, 2024
1 parent 8b24c69 commit 300c615
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/packages/doctrine.yaml
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 300c615

Please sign in to comment.