Use raw data in commands and events - ADR

This commit is contained in:
Ernest Warwas 2022-03-18 14:41:00 +01:00
parent 6c674b2a2a
commit a47dbaa4f2
No known key found for this signature in database
GPG key ID: 53E6A337C5C09665

View file

@ -0,0 +1,13 @@
# Use raw data in commands and events
* Status: accepted
* Date: 2022-03-18
## Context and Problem Statement
While defining new commands or events we may define them with entities or any objects. Objects passed to commands or
events may desynchronize with the main object which can be causing problems with handlers that may operate on wrong data.
## Decision Drivers <!-- optional -->
* always operate on the actual state of the object