#
View Source Ash.Resource.ManualRelationship behaviour (ash v2.4.22)

A module to implement manual relationships.

# Link to this section Summary

## Types

context()

## Callbacks

load( list, opts, context )

# Link to this section Types

Link to this type

# context()

View Source

    @type context() :: %{
      relationship: Ash.Resource.Relationships.relationship(),
      query: Ash.Query.t(),
      root_query: Ash.Query.t(),
      actor: term(),
      tenant: term(),
      authorize?: term(),
      api: module()
    }

# Link to this section Callbacks

Link to this callback

# load( list, opts, context )

View Source

    @callback load(
      [Ash.Resource.record()],
      opts :: Keyword.t(),
      context :: context()
    ) :: {:ok, map()} | {:error, term()}