text-document-macros 1.4.0

Proc macros for text-document Unit of Work generation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Generated by Qleany v1.4.8 from macros_lib.tera

mod direct_access;

use proc_macro::TokenStream;

/// This macro is used to generate a unit of work (UoW) action for a given entity (e.g. Root)
/// and specific action (e.g., create, update). Apply to a trait or an impl block.
/// ex: #[unit_of_work::uow_action(entity = "Root", action = "Create", thread_safe = true)]
#[proc_macro_attribute]
pub fn uow_action(args: TokenStream, input: TokenStream) -> TokenStream {
    direct_access::uow_action_impl(args, input)
}