Scoria.SemanticLane behaviour (scoria v0.1.3)

Copy Markdown View Source

Legacy 0.1.x compatibility wrapper for Scoria.SemanticCache.Profile.

0.1.x compatibility migration note: new code should use Scoria.SemanticCache.Profile with cache_key: and the semantic cache vocabulary. This wrapper keeps older use Scoria.SemanticLane, lane_key: ... modules and describe/1 calls working while adopters migrate.

The wrapper is visible in the Compatibility Aliases reference group and does not emit runtime deprecation warnings. See guides/reference/glossary.md for the 0.1.x compatibility aliases and the final public vocabulary.

Summary

Types

scope_kind()

@type scope_kind() :: :tenant_shared | :actor_scoped

Callbacks

default_scope()

@callback default_scope() :: scope_kind()

lane_key()

@callback lane_key() :: String.t()

metadata()

@callback metadata() :: map()

safe_read_only?()

@callback safe_read_only?() :: boolean()

Functions