View Source Ash.Resource.Calculation.Context (ash v3.4.48)

The context and arguments of a calculation

Summary

Types

t()

@type t() :: %Ash.Resource.Calculation.Context{
  actor: term() | nil,
  arguments: map(),
  authorize?: boolean(),
  constraints: Keyword.t(),
  domain: module(),
  resource: module(),
  source_context: map(),
  tenant: term(),
  tracer: module() | nil,
  type: Ash.Type.t()
}