mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Use raw data in commands and events - ADR
This commit is contained in:
parent
6c674b2a2a
commit
a47dbaa4f2
1 changed files with 13 additions and 0 deletions
13
adr/2022_03_18_raw_data_in_command_and_events.md
Normal file
13
adr/2022_03_18_raw_data_in_command_and_events.md
Normal 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
|
||||
Loading…
Add table
Reference in a new issue