From: Raphaƫl Gertz Date: Mon, 25 Mar 2024 20:59:26 +0000 (+0100) Subject: Disable controller resolver auto mapping X-Git-Tag: 0.5.0~18 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/2de7e7ae20031796b0f1f7dd42664794a6ba9988 Disable controller resolver auto mapping --- diff --git a/Resources/config/packages/rapsysair.yaml b/Resources/config/packages/rapsysair.yaml index ee6ce47..7382568 100644 --- a/Resources/config/packages/rapsysair.yaml +++ b/Resources/config/packages/rapsysair.yaml @@ -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