]> Raphaël G. Git Repositories - airbundle/commitdiff
Disable controller resolver auto mapping
authorRaphaël Gertz <git@rapsys.eu>
Mon, 25 Mar 2024 20:59:26 +0000 (21:59 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 25 Mar 2024 20:59:26 +0000 (21:59 +0100)
Resources/config/packages/rapsysair.yaml

index ee6ce479de2250e1f50b7027d458f050a4bdacff..738256861564a044574d93adab7725ddc25c50ba 100644 (file)
@@ -127,6 +127,11 @@ doctrine:
 
     # Orm configuration
     orm:
+        # Controller resolver
+        controller_resolver:
+            # Disable auto mapping
+            auto_mapping: false
+
         # Replace repository factory
         repository_factory: 'Rapsys\AirBundle\Factory'
 
@@ -137,6 +142,7 @@ doctrine:
             Rapsys\UserBundle\Entity\Civility: 'Rapsys\AirBundle\Entity\Civility'
             Rapsys\UserBundle\Entity\User: 'Rapsys\AirBundle\Entity\User'
 
+        # Force mappings
         mappings:
             # Map entities
             # XXX: Entity short syntax was removed