Compiled Cedar entity store handle.
Build an entity store from a list of ExCedar.Entity structs via
from_list/1, or pass raw Cedar entities JSON via from_json/1. The
compiled handle is immutable and thread-safe.
Summary
Functions
Parses raw Cedar entities JSON (binary string, list, or map) and returns a compiled handle. Useful as an escape hatch when working with Cedar JSON produced by other tools.
Encodes a list of ExCedar.Entity structs to Cedar entities JSON and
returns a compiled handle.
Functions
Parses raw Cedar entities JSON (binary string, list, or map) and returns a compiled handle. Useful as an escape hatch when working with Cedar JSON produced by other tools.
Encodes a list of ExCedar.Entity structs to Cedar entities JSON and
returns a compiled handle.
Returns {:error, %ExCedar.Error.Invalid{}} if Cedar rejects the entity
data (e.g. a duplicate entity UID or a malformed entity reference).