This commit is contained in:
2026-06-10 18:22:27 +02:00
parent 7f31b63aaa
commit 83b475987c
50 changed files with 2550 additions and 11 deletions
+9
View File
@@ -0,0 +1,9 @@
---
globs: "**/Repository/*.php,**/Data/**/*Repository*.php,**/Logic/**/*Repository*.php"
description: Enforce clear separation between Logic, Data, and Shared layers by
ensuring proper placement of repositories according to domain-driven design
principles.
alwaysApply: true
---
All repository implementations must be located in the Data layer and use entities for persistence. Repository interfaces must be defined in the Logic layer, not in the Data layer. Services in the Logic layer must depend on repository interfaces defined in their respective Logic folder.