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