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
After completely reading the docs(thanks everyone for the work). I got confused regarding the balance value that is stored in each bank account event that withdraws/deposits some amount of money.
I would expect that the domain events wouldn't contain any balance value and that would be derived after processing all events.
Is there a explanation on why it is a better choice to add computed information in the domain event?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After completely reading the docs(thanks everyone for the work). I got confused regarding the balance value that is stored in each bank account event that withdraws/deposits some amount of money.
I would expect that the domain events wouldn't contain any balance value and that would be derived after processing all events.
Is there a explanation on why it is a better choice to add computed information in the domain event?
Beta Was this translation helpful? Give feedback.
All reactions