I am confused about at least one thing after reading Vaughn Vernon's Implementing Domain-Driven Design.
In Chapter 12 Repositories he says that transactions are managed in the application layer.
But he also says that an aggregate is synonymous with transactional consistency boundary.
And since repositories provide global access to aggregates, why couldn't transactions be managed
in repositories? Is it because the rule aggregate == transactional consistency boundary is only a rule of thumb
that must sometimes be broken, or is there something else to it?