Aragog Macros
Procedural macros utility for aragog (crates.io).
Record derive macro
aragog_macros
allows to derive aragog::Record
instead of direct implementation. (see the book section)
Available attributes:
- before_create
- before_save
- before_delete
- before_write
- before_all
- after_create
- after_save
- after_delete
- after_write
- after_all
All these attributes are Record hooks.
Validate derive macro
aragog_macros
allows to derive aragog::Validate
instead of direct implementation. (see the book section)
Available attributes:
- validate
- validate_each