View Source Incident.CommandHandler (incident v0.6.2)

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;