ash v1.29.0-rc1 Ash.Resource.Relationships.HasOne View Source
Represents a has_one relationship on a resource
Link to this section Summary
Link to this section Types
Specs
t() :: %Ash.Resource.Relationships.HasOne{
allow_orphans?: boolean(),
cardinality: :one,
description: String.t(),
destination: Ash.resource(),
destination_field: atom(),
name: atom(),
private?: boolean(),
source: Ash.resource(),
source_field: atom(),
type: :has_one,
writable?: boolean()
}