- Refs/
Events
·1 min
Table of Contents
Go To References #
Videos #
- Command Query Separation & Events | Code Walks 038 - Christopher Okhravi – CQS: Keep functions either as questions or mutations not both. For cases like pop, or “answering a question changes the answer” cases, or saving a user and returning success or error, use event chains.
Save
performs the save and if there is an error, instead of returning it, have it publish auser_save_error
event, which other consumers are listening to, in order to handle that information. - Building microservices with event sourcing and CQRS | SpringDeveloper