Jido.Memory.ProviderRef (Jido Memory v1.0.0)

View Source

Normalized provider reference used by runtime dispatch.

Summary

Types

provider_input()

@type provider_input() :: t() | atom() | {atom(), keyword()} | nil

t()

@type t() :: %Jido.Memory.ProviderRef{
  key: atom() | nil,
  module: module(),
  opts: keyword()
}

Functions

normalize(provider)

@spec normalize(provider_input()) :: {:ok, t()} | {:error, term()}

schema()

@spec schema() :: Zoi.schema()

validate(arg1)

@spec validate(t()) :: {:ok, t()} | {:error, term()}