streak
streak copied to clipboard
Event Sourcing Framework
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. Commits 1cee8cc Rector 0.15.21 3a55fbc Updated Rector to commit 0433671480db4a41267eddcab741ba1739b58f1f 9a50d02 Updated Rector to commit d8dae934146cb5b99c6bd9eba340aa1863dce08c 7a5d9d8 Updated Rector to...
Updates the requirements on [psr/log](https://github.com/php-fig/log) to permit the latest version. Commits ef29f6d Merge pull request #76 from Crell/v2 41f7218 Switch to standard PSR-4 directory structure. 957f465 Fold AbstractLogger and LoggerTrait...
Updates the requirements on [qossmic/deptrac-shim](https://github.com/qossmic/deptrac-shim) to permit the latest version. Release notes Sourced from qossmic/deptrac-shim's releases. 0.24.0 https://github.com/qossmic/deptrac/releases/tag/0.24.0 Commits 2ff8320 Prepare release 0.24.0 419c6cc Prepare release 0.23.0 b76db33 Prepare release...
Updates the requirements on [doctrine/dbal](https://github.com/doctrine/dbal) to permit the latest version. Release notes Sourced from doctrine/dbal's releases. 3.5.1 Release 3.5.1 3.5.1 Total issues resolved: 0 Total pull requests resolved: 1 Total...
So, for example, when projection is rebuilding it could turn of global/side effects e.g. further publishing events until it catches up to the last event it processed before restarting
- [ ] move subscribers to outside event bus (making it subscription itself) - [ ] when unit of work is committed store all events from all registered aggregates at...
Thanks to that functional/behavioral test will be able to detect wrongly built events that serialize into embedded object instead of scalars/array of scalars
https://github.com/streakphp/streak/blob/6281b92d376fed0349e61fd624063dce45238168/src/Infrastructure/Domain/EventStore/PublishingEventStore.php#L44 Fix: ```php $this->events = array_merge($this->events, $events); ```