API Reference cqrs_tools v0.5.28


CqrsTools is a set of macros to let you focus on your core business and make CQRS applications easier to manage.

Macros to derive queries and mutations from Queries and Commands, respectfully.

Macros to create proxy functions to commands and queries in a module.

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.

The ValueObject macro allows you to define a typed struct with validation.