revoframework / Revo

Event Sourcing, CQRS and DDD framework for C#/.NET Core.
https://docs.revoframework.net/
MIT License
644 stars 70 forks source link

Aggregate repository has superfluous methods #29

Open RustamGulamov opened 3 years ago

RustamGulamov commented 3 years ago

Aggregate repository must have only 2 methods(GetByID, Save) by DDD.

martinzima commented 3 years ago

Sorry, I don't believe this is neither anything required by DDD per se, nor anything practical for the real-world development. But feel free to elaborate on why you think it would be better to limit the generic repository that way. :)