Ash.Info.Manifest.Generator.ActionBuilder (ash v3.25.1)

Copy Markdown View Source

Converts Ash action structs into %Ash.Info.Manifest.Action{} structs.

Summary

Functions

Build an %Ash.Info.Manifest.Action{} from an Ash action struct.

Functions

build(resource, action, opts \\ [])

@spec build(atom(), struct(), keyword()) :: Ash.Info.Manifest.Action.t()

Build an %Ash.Info.Manifest.Action{} from an Ash action struct.

Action arguments and accepted attributes are merged into a single inputs list. Accepted attributes appear in accept order, followed by arguments in declaration order.

Options

  • :include_private_arguments? - Include private arguments (default: false). Accepted attributes are always included (whether public or not), since accept is itself an explicit exposure.