|
|
|
|
|
by UK-AL
3456 days ago
|
|
The address thing is normally solved by the fact that you organise your commands by things that should only logically change togther. So a conflict messages won't revert irrelevant fields back to their old ones. So your commands should not be UpdateCustomer They should be UpdateCustomerAddress
UpdateCustomerEmail Etc For the address, just take the last one. All the business logic I can think makes this ok. |
|
CustomerMoved(fromAddress, toAddress) is a domain event.