-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
We should create a repository implementation that will be generic and that can accept includes data.
Acceptance Criteria
- Repository is generic
- Repository methods for getting data accepts an
string[] includesargument that will build the query to theDbContext - Repository is used in source-generated controllers instead of direct
DbContextaccess. - Repository will throw a domain-specific exception if a non-existent relation is passed as an argument. Take care to map this to a
BadRequestin the global exception mapping. - The repository should take care of nested includes too.
Metadata
Metadata
Assignees
Labels
No labels