AshLua.Domain.Info (ash_lua v0.1.4)

Copy Markdown View Source

Introspection helpers for AshLua.Domain.

Summary

Functions

The Lua table name to expose this domain under.

Explicit public Lua namespaces configured on the domain.

Functions

name(domain)

@spec name(Ash.Domain.t() | Spark.Dsl.t()) :: String.t()

The Lua table name to expose this domain under.

Falls back to snake_case of the domain module's last segment if not explicitly configured.

namespaces(domain)

@spec namespaces(Ash.Domain.t() | Spark.Dsl.t()) :: [AshLua.Domain.Namespace.t()]

Explicit public Lua namespaces configured on the domain.