Closed yceruto closed 11 months ago
Some tests seem broken with this change
Yeah, still checking DoctrineBookRepositoryTest
...
Tests updated!
I added a NullMiddleware
instead of conditionally adding the Doctrine transaction middleware. I preferred this approach because the messenger configuration is clearer. It's ready on my side.
Closes #46
Introduces ACID (Atomicity, Consistency, Isolation, Durability) transactions, which are designed to improve data integrity and consistency. This enhancement involves the implementation of a new transaction management system using Doctrine Transaction Middleware within the Messenger component for command handlers.
This approach guarantees that once transactions are committed, they remain stable and unaffected by system failures.
I didn't check the tests yet...