laravel-event-sourcing icon indicating copy to clipboard operation
laravel-event-sourcing copied to clipboard

The easiest way to get started with event sourcing in Laravel

Results 10 laravel-event-sourcing issues
Sort by recently updated
recently updated
newest added

The challenge I am facing is to be able to re-use event handlers (especially Reactors) more than once. Not sure if it applies to Projectors though. I need to create...

I'm playing around with this package and noticed, that when following the documentation for [aggregate partials](https://spatie.be/docs/laravel-event-sourcing/v5/advanced-usage/aggregate-partials) and creating a snapshot of the aggregate root, the state of the partial is...

bug
help wanted

This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 11.x. **Before merging**, you need to: - Checkout the `l11-compatibility`...

Using PHP 8.2, I am getting this deprecation notice, if I set `'dispatch_events_from_aggregate_roots' => true,`: >DEPRECATED Creation of dynamic property ... $firedFromAggregateRoot is deprecated in vendor/spatie/laravel-event-sourcing/src/StoredEvents/StoredEvent.php on line 68. Should...

bug

I noticed that any call to save on an EloquentStoredEvent updates the created_at timestamp to now. It looks like you're using an event listener for this, but not even using...

bug

When on the [main documenation page](https://spatie.be/docs/laravel-event-sourcing/v7/introduction) there is a link to the "getting familiar with event sourcing section". This links to `https://spatie.be/laravel-event-sourcing/v7/getting-familiar-with-event-sourcing/introduction` which returns a 404. In said link the...

Hi there! I encountered this bug when I was trying to store a collection of Eloquent models as events (Long story...) If you define a stored event property with the...

This is due to how Symfony serializer works. When the serialized object (event) contains a method with the name of the attribute, return value of that method is preferred and...

When using an `event_class_map` and querying `->whereEvent(...)`, all given events should be mapped to their corresponding value before querying the database.