incident v0.4.1 Incident.CommandHandler View Source

Defines a Command Handler that receives a command to:

  • ensure that the command data is valid based on the command validations;
  • executes the command using the aggregate;