From a47dbaa4f2ecb98e11e3979040293877bae6024e Mon Sep 17 00:00:00 2001 From: Ernest Warwas Date: Fri, 18 Mar 2022 14:41:00 +0100 Subject: [PATCH] Use raw data in commands and events - ADR --- adr/2022_03_18_raw_data_in_command_and_events.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 adr/2022_03_18_raw_data_in_command_and_events.md 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