feat(core) : move user entity into core module and repoint security/doctrine (temp legacy alias)

This commit is contained in:
Matthieu
2026-06-19 16:03:52 +02:00
parent 6ca91cbd3b
commit f8fc4d6bd9
7 changed files with 24 additions and 4 deletions
+6 -1
View File
@@ -14,7 +14,7 @@ doctrine:
Doctrine\DBAL\Platforms\PostgreSQLPlatform: identity
auto_mapping: true
resolve_target_entities:
App\Shared\Domain\Contract\UserInterface: App\Entity\User
App\Shared\Domain\Contract\UserInterface: App\Module\Core\Domain\Entity\User
mappings:
App:
type: attribute
@@ -22,6 +22,11 @@ doctrine:
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
alias: App
Core:
type: attribute
is_bundle: false
dir: '%kernel.project_dir%/src/Module/Core/Domain/Entity'
prefix: 'App\Module\Core\Domain\Entity'
controller_resolver:
auto_mapping: false