Skip to main content

load_registry_raw

Function load_registry_raw 

Source
pub async fn load_registry_raw(
    pool: &Pool,
    dialect: &dyn Dialect,
    tenant_id: &str,
    package_id: &str,
    path_segment: &str,
) -> Result<Option<Value>, AppError>
Expand description

Read the raw registry document for one entity (the value stored in _sys_kv_data), or None when no registry has been defined. Unlike load_registry, this returns the untouched JSON for display in the admin API rather than the parsed/indexed structure.