Replies: 2 comments 2 replies
-
I believe there is a bug in the package, I experienced this and I had to change the type-hinted enum to a simple |
Beta Was this translation helpful? Give feedback.
0 replies
-
Should be enough to add
to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I work on the event-sourcing book and get an error by
AccountAggregateRoot::retrieve($account->uuid)
cause of using an Enum for the AccountType - or "better" => "Cannot instantiate enum App\Domain\Account\Enums\AccountType"If I'll change the structure of
AccountData
fromAccountType
to a simplestring
- it works perfect.Beta Was this translation helpful? Give feedback.
All reactions