type-bridge-orm 1.5.2

Async ORM for TypeDB built on type-bridge-core-lib
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Lifecycle hook system for CRUD operations.
//!
//! Hooks are registered on manager instances via
//! [`add_hook`](crate::manager::EntityManager::add_hook).
//! Pre-hooks run in registration order and may reject operations.
//! Post-hooks run in reverse order; errors are logged but not propagated.

mod context;
mod error;
mod runner;
mod traits;

pub use context::{CrudOperation, HookContext, TypeKind};
pub use error::HookError;
pub use runner::HookRunner;
pub use traits::{LifecycleHook, PreHookResult};