View Source Ash.Resource.Attribute (ash v2.9.11)
Represents an attribute on a resource
Link to this section Summary
Link to this section Types
@type t() :: %Ash.Resource.Attribute{ allow_nil?: term(), always_select?: term(), constraints: Keyword.t(), default: nil | term() | (() -> term()), description: term(), filterable?: term(), generated?: term(), match_other_defaults?: term(), name: atom(), primary_key?: boolean(), private?: boolean(), sensitive?: boolean(), source: term(), type: Ash.Type.t(), update_default: nil | term() | (() -> term()) | (Ash.Resource.record() -> term()), writable?: boolean() }