aragog-macros

Crates.ioaragog-macros
lib.rsaragog-macros
version0.8.0
sourcesrc
created_at2020-11-30 14:18:34.280757
updated_at2022-06-17 13:54:50.55828
descriptionMacros for Aragog Crate
homepagehttps://aragog.rs
repositoryhttps://gitlab.com/qonfucius/aragog/-/tree/master/aragog_macros
max_upload_size
id318229
size47,979
(Nainterceptor)

documentation

README

Logo

Aragog Macros

pipeline status unsafe forbidden MIT licensed Crates.io dependency status

Discord Gitter

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
Commit count: 317

cargo fmt