AshTui.Introspection.RelationshipInfo (AshTui v0.3.1)

Copy Markdown View Source

Holds introspection data for a resource relationship.

Fields

  • :name - the relationship name atom (e.g. :posts)
  • :type - one of :belongs_to, :has_one, :has_many, or :many_to_many
  • :destination - the destination resource module atom

Summary

Types

t()

@type t() :: %AshTui.Introspection.RelationshipInfo{
  destination: atom(),
  name: atom(),
  type: :belongs_to | :has_one | :has_many | :many_to_many
}