Introspection helpers for AshLua.Resource.
Summary
Functions
Whether the resource should be exposed to Lua. Defaults to true.
The Lua key (under the domain table) to expose this resource as.
Functions
@spec expose?(Ash.Resource.t() | Spark.Dsl.t()) :: boolean()
Whether the resource should be exposed to Lua. Defaults to true.
@spec name(Ash.Resource.t() | Spark.Dsl.t()) :: String.t()
The Lua key (under the domain table) to expose this resource as.
Falls back to snake_case of the resource module's last segment.