From 2de7e7ae20031796b0f1f7dd42664794a6ba9988 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 25 Mar 2024 21:59:26 +0100 Subject: [PATCH 1/1] Disable controller resolver auto mapping --- Resources/config/packages/rapsysair.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.41.1