macro_rules! register_scope_provider {
($factory:expr) => { ... };
}Expand description
Register a super::ConnectionScopeProvider factory at static-init time.
Wire alongside register_extension! in the extension’s extension.rs:
ⓘ
systemprompt_database::register_scope_provider!(|| {
std::sync::Arc::new(OrgScopeProvider)
as systemprompt_database::scope::SharedScopeProvider
});