Spark DSL extension declaring a boundary for an Ash.Domain.
boundary
Configures the boundary declared for this domain.
Examples
boundary do
deps [MyApp.Accounts, {MyApp.Codegen, :compile}]
exports [MyApp.Blog.PostStatus]
end
Options
| Name | Type | Default | Docs |
|---|---|---|---|
deps | list(module | {module, :compile | :runtime}) | [] | The other boundaries this domain can reference, as a bare module or {module, :compile} to permit compile-time references only. |
exports | list(module) | [] | Public modules under this domain's namespace that are not resources. |
dirty_xrefs | list(module) | [] | Passed through to boundary's dirty_xrefs option, unchanged. |
check | nil | keyword | Passed through to boundary's check option, unchanged. | |
type | nil | :strict | :relaxed | Passed through to boundary's type option, unchanged. |