Ash.Info.Manifest.Generator.ResourceBuilder (ash v3.25.0)

Copy Markdown View Source

Converts an Ash resource module into an %Ash.Info.Manifest.Resource{} struct.

Summary

Functions

Build a %Ash.Info.Manifest.Resource{} from an Ash resource module.

Functions

build(resource, opts \\ [], filter_capabilities \\ nil)

Build a %Ash.Info.Manifest.Resource{} from an Ash resource module.

Resources are pure type/shape definitions — actions live in entrypoints.

Options

  • :include_private_attributes? - Include private attributes (default: false)
  • :include_private_calculations? - Include private calculations (default: false)
  • :include_private_aggregates? - Include private aggregates (default: false)
  • :include_private_relationships? - Include private relationships (default: false)