Files
ai-chat/.continue/rules/repository-pattern.md
T
2026-06-10 18:22:27 +02:00

571 B

globs, description, alwaysApply
globs description alwaysApply
**/Repository/*.php,**/Data/**/*Repository*.php,**/Logic/**/*Repository*.php Enforce clear separation between Logic, Data, and Shared layers by ensuring proper placement of repositories according to domain-driven design principles. 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.