Viewing profile — eyads
eyads
HN member- Joined
- Thu, Nov 11, 2021, 10:51 AM UTC
- HN karma
- 2
- Public activity
- 2 items
- HN profile
- View on Hacker News ↗
About eyads
No profile information was provided.
Recent public activity
-
comment
Comment #42970862
add_item is not an event, rather a command/ request that is yet to be validated. item_added is the event = a fact that was 'allowed to happen' by the system. Keeping commands in a …
-
comment
Comment #42850381
TLDR; You evaluate your preconditions and invariants before the event is published, using the current state of the aggregate. Here's how that looks like in a DDD world: * An aggreg…