Incident v0.2.0 Release Notes
Release Date: 2019-07-16 // over 4 years ago-
โ Added
Library
- Define the
Incident.Command
behaviour to specify the command interface; - Define the
Incident.CommandHandler
macro for command handlers; - Define the
Incident.EventHandler
behaviour to specify the event handler interface; - ๐ Use
Ecto.Schema
event data structure; - ๐ Use
Ecto.Schema
for command data structure;
๐ Changed
Library
- ๐ Move event persistency from aggregates to command handlers;
- Validate commands in the command handlers using command implementation;
- Define the