Commands
Learn what commands are, their types and how they change the state of a system.
We'll cover the following...
Let us imagine a situation when a customer wants to execute an action in a bounded context, such as buying an object, transferring money, or watching a film.
The system receives a request and executes the action that was requested. Executing that action can be successful, or it can be rejected. When it is successful, it should change the system state.
What are commands?
Commands are the first of the three activities that can occur in a domain, and it is broadly used in a pattern called Command Query Responsibility ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy