You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.
class ReactionAdded implements ShouldBeStored
{
private $Id;
private $reactionType;
public function __construct(
int $id,
ReactionType $reactionType
) {
}
}
Well, I cannot projects the event, I get this error:
Failed to unserialize an event with class `App\Events\ReactionAdded` on stored event with id `11`. Are you sure that event class exists?
The stack trace shows InvalidStoredEvent::couldNotUnserializeEvent, and it seems it cannot deserialize the event, given I'm using the ´ReactionType` Value Object.
What is the correct syntax to use an event with a value object in the constructor?
The text was updated successfully, but these errors were encountered:
Hi.
I have this event:
Well, I cannot projects the event, I get this error:
The stack trace shows
InvalidStoredEvent::couldNotUnserializeEvent
, and it seems it cannot deserialize the event, given I'm using the ´ReactionType` Value Object.What is the correct syntax to use an event with a value object in the constructor?
The text was updated successfully, but these errors were encountered: