Ash.Resource.ManualRelationship behaviour (ash v1.52.0-rc.1) View Source
A module to implement manual relationships.
Link to this section Summary
Link to this section Types
Specs
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
Specs
load( [Ash.Resource.record()], opts :: Keyword.t(), context :: context() ) :: {:ok, map()} | {:error, term()}