View Source Ash.Resource.Relationships.ManyToMany (ash v3.4.44)

Represents a many_to_many relationship on a resource

Summary

Types

t()

@type t() :: %Ash.Resource.Relationships.ManyToMany{
  cardinality: :many,
  context: term(),
  could_be_related_at_creation?: term(),
  description: String.t(),
  destination: Ash.Resource.t(),
  destination_attribute: atom(),
  destination_attribute_on_join_resource: atom(),
  domain: term(),
  filter: Ash.Filter.t() | nil,
  filterable?: boolean(),
  filters: [any()],
  has_many: boolean(),
  join_relationship: atom(),
  name: atom(),
  not_found_message: term(),
  public?: boolean(),
  read_action: atom(),
  sort: term(),
  sortable?: boolean(),
  source: Ash.Resource.t(),
  source_attribute: atom(),
  source_attribute_on_join_resource: atom(),
  through: Ash.Resource.t(),
  type: :many_to_many,
  validate_destination_attribute?: term(),
  violation_message: term()
}