Jido. Memory. ProviderRef
(Jido Memory v1.0.1)
View Source
Normalized provider reference used by runtime dispatch.
Summary
Functions
Normalizes a provider name, module, tuple, or reference into a validated reference.
Returns the schema used to validate provider references.
Validates that a provider reference is loaded and implements the provider contract.
Types
Functions
@spec normalize(provider_input()) :: {:ok, t()} | {:error, term()}
Normalizes a provider name, module, tuple, or reference into a validated reference.
@spec schema() :: Zoi.schema()
Returns the schema used to validate provider references.
Validates that a provider reference is loaded and implements the provider contract.