Ash.Info.Manifest.Field (ash v3.25.1)

Copy Markdown View Source

Represents a resource field (attribute, calculation, or aggregate) in the API specification.

Summary

Types

kind()

@type kind() :: :attribute | :calculation | :aggregate

t()

@type t() :: %Ash.Info.Manifest.Field{
  aggregate_kind: atom() | nil,
  allow_nil?: boolean(),
  arguments: [Ash.Info.Manifest.Argument.t()] | nil,
  custom: map(),
  description: String.t() | nil,
  filter_custom_expressions:
    [Ash.Info.Manifest.ApplicableCustomExpression.t()] | nil,
  filter_functions: [Ash.Info.Manifest.ApplicableFunction.t()] | nil,
  filter_operators: [Ash.Info.Manifest.ApplicableOperator.t()] | nil,
  filterable?: boolean(),
  has_default?: boolean(),
  kind: kind(),
  name: atom(),
  primary_key?: boolean(),
  select_by_default?: boolean(),
  sensitive?: boolean(),
  sortable?: boolean(),
  type: Ash.Info.Manifest.Type.t(),
  writable?: boolean()
}