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 was archived by the owner on Nov 29, 2021. It is now read-only.
The current definition of
Aggregateis as follows:But people tell me I should never trust user input. What if the incoming command is invalid? How would I handle this? Usually I have something like:
Would I have to map errors to "events" ? Such that, an invalid command inserts an
ErrorOccured <reason>event?But that would give you superflous events that probably should not affect the state in the
Projection