Ash.Registry.Dsl (ash v1.50.8) View Source

A small DSL for declaring an Ash.Registry.

Table of Contents

entries

List the entries present in this registry

Examples:

entries do
  entry MyApp.User
  entry MyApp.Post
  entry MyApp.Comment
end

entry

A reference to an ash module (typically a resource)

Introspection Target:

Ash.Registry.Entry

Examples:

entry MyApp.User
  • :entry - Required. The referenced module