AshTui.Introspection.ArgumentInfo (AshTui v0.3.1)

Copy Markdown View Source

Holds introspection data for an action argument.

Fields

  • :name - the argument name atom (e.g. :email)
  • :type - the Ash type (atom or {:array, atom()})
  • :allow_nil? - whether nil values are accepted (default true)

Summary

Types

t()

@type t() :: %AshTui.Introspection.ArgumentInfo{
  allow_nil?: boolean(),
  name: atom(),
  type: atom() | {:array, atom()}
}