ash v1.29.0-rc1 Ash.Resource.Attribute 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.record() -> term()),
writable?: boolean()
}