diff --git a/adr/2022_03_18_raw_data_in_command_and_events.md b/adr/2022_03_18_raw_data_in_command_and_events.md new file mode 100644 index 0000000000..181c58aa93 --- /dev/null +++ b/adr/2022_03_18_raw_data_in_command_and_events.md @@ -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 + +* always operate on the actual state of the object