pub fn install_function_into_registry(
registry: &Arc<PluginRegistry>,
record: &DeclaredPlugin,
) -> Result<(), CustomError>Expand description
Compile a declared-function record into a DeclaredScalarFn
and register it into registry under a synthetic plugin id
derived from the qname’s namespace.
§Errors
Returns CustomError::BodyParse if the body fails Cypher
expression parsing, CustomError::NativeShadow if the qname
is already taken in registry, or CustomError::Registration
on other registrar errors.