Packages

An Ash extension for embedding Lua scripts with a consistent actor, tenant, and context.

Current section

Files

Jump to
ash_lua documentation dsls DSL-AshLua.Domain.md
Raw

documentation/dsls/DSL-AshLua.Domain.md

<!--
This file was generated by Spark. Do not edit it by hand.
-->
# AshLua.Domain
Extension that exposes an Ash domain's resources to Lua scripts evaluated through `AshLua.eval!/2`.
## lua
Domain-level configuration for AshLua.
### Examples
```
lua do
name "accounts"
end
```
### Options
| Name | Type | Default | Docs |
|------|------|---------|------|
| [`name`](#lua-name){: #lua-name } | `String.t` | | The Lua table name to expose this domain under. Defaults to snake_case of the domain module's last segment. |
<style type="text/css">.spark-required::after { content: "*"; color: red !important; }</style>