AshVersioned.Resource.BelongsToActor (ash_versioned v0.1.0)

Copy Markdown

Represents a belongs_to_actor declared inside the versioning DSL section of AshVersioned.Resource.

Summary

Types

t()

@type t() :: %AshVersioned.Resource.BelongsToActor{
  __spark_metadata__: term(),
  allow_nil?: boolean(),
  attribute_name: atom(),
  attribute_type: term(),
  define_attribute?: boolean(),
  destination: Ash.Resource.t(),
  destination_attribute: atom(),
  domain: atom() | nil,
  name: atom(),
  on_delete: :delete | :nilify | :nothing | :restrict | {:nilify, [atom()]},
  public?: boolean(),
  validate_destination_attribute?: boolean()
}