Ash.Resource.Relationships.HasMany (ash v1.51.2) View Source

Represents a has_many relationship on a resource

Link to this section Summary

Link to this section Types


t() :: %Ash.Resource.Relationships.HasMany{
  cardinality: :many,
  context: term(),
  description: String.t(),
  destination: Ash.Resource.t(),
  destination_field: atom(),
  filter: Ash.Filter.t() | nil,
  name: atom(),
  not_found_message: term(),
  private?: boolean(),
  read_action: atom(),
  sort: term(),
  source: Ash.Resource.t(),
  source_field: atom(),
  type: :has_many,
  validate_destination_field?: term(),
  violation_message: term(),
  writable?: boolean()