ash v1.24.2 Ash.Resource.Attribute View Source

Represents an attribute on a resource

Link to this section Summary

Link to this section Types


t() :: %Ash.Resource.Attribute{
  allow_nil?: term(),
  constraints: Keyword.t(),
  default: (() -> term()),
  description: term(),
  generated?: term(),
  name: atom(),
  primary_key?: boolean(),
  private?: boolean(),
  type: Ash.Type.t(),
  update_default: (() -> term()) | (Ash.record() -> term()),
  writable?: boolean()

Link to this section Functions