AshLua.EvalActions.Run.Eval (ash_lua v0.1.0)

Copy Markdown View Source

Implementation backing the synthesized :eval action.

Evaluates the script through AshLua.eval!/2 against a manifest scoped to the eval_actions configuration, with the caller's actor / tenant / context threaded through.

The action returns a typed map %{result, error} mirroring the in-script (result, err) convention — successful runs populate result; failed runs populate error.