jorge07 / symfony-6-es-cqrs-boilerplate

Symfony 6 DDD ES CQRS backend boilerplate.
MIT License
1.07k stars 187 forks source link

Move Projections (Read Model) to Infrastructure. #102

Closed jorge07 closed 5 years ago

jorge07 commented 5 years ago

I made some mistakes in the past. Read Model and projections should be in Infra as are representations of the Entities and not Domain specific responsibility.

Still thining about how to deal with Sessions, ATM I've a SessionInterface in domain but looks strange there. Will try to sort this in another PR.

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 328


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Infrastructure/User/Auth/Auth.php 7 8 87.5%
<!-- Total: 20 21 95.24% -->
Totals Coverage Status
Change from base Build 307: 0.07%
Covered Lines: 517
Relevant Lines: 542

💛 - Coveralls