docs: define repository pattern boundary
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
|
||||
## Repository Rules
|
||||
|
||||
- Use the repository pattern for persistence boundaries.
|
||||
- Repository interfaces live in {{REPOSITORY_INTERFACE_LOCATION}}.
|
||||
- Repository implementations live in {{REPOSITORY_IMPLEMENTATION_LOCATION}}.
|
||||
- Repositories should be domain-specific, not generic CRUD wrappers by default.
|
||||
- {{REPOSITORY_RULE}}
|
||||
|
||||
## Service Rules
|
||||
|
||||
Reference in New Issue
Block a user