Generic Vs Individual Repository for Aggregate Root
问题 As I understand, the Bounded Context can have modules, the modules can have many aggregate roots, the aggregate root can have entities. For the persistence, each aggregate root should have a repository. With the numerous aggregate roots in a large project, is it okay to use a Generic Repository , one for ready only and one for update? Or should have separate repository for each aggregate root which can provide better control. 回答1: In a large complex project, I wouldn't recommend using a