API Reference cqrs_tools v0.2.15
Modules
CqrsTools is a set of macros to let you focus on your core business and make CQRS applications easier to manage.
Macros for Absinthe.Relay
If you are a Commanded user, you have already registered your commands with your commanded routers.
Instead of repeating yourself, you can cut down on boilerplate with the import_commands/1 macro.
The Command macro allows you to define a command that encapsulates a struct definition,
data validation, dependency validation, and dispatching of the command.
Defines validation functions for a validated command.
Defines a new domain event struct
Defines a query and any filters.