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;