Diffo.Provider.Calculations.InheritedPlace (Diffo v0.4.0)

Copy Markdown View Source

Backing calculation for inherited_place DSL declarations.

Traverses AssignmentRelationship by alias to reach source instances, then reads their PlaceRef records for the declared source_role. Injected automatically by TransformInheritedRefs — do not reference this module directly; use the inherited_place DSL entity instead.

See Diffo.Provider.Extension.InheritedPlaceDeclaration for the DSL options.

Summary

Functions

describe(opts)

Callback implementation for Ash.Resource.Calculation.describe/1.

has_calculate?()

has_expression?()

Callback implementation for Ash.Resource.Calculation.has_expression?/0.

init(opts)

Callback implementation for Ash.Resource.Calculation.init/1.

strict_loads?()

Callback implementation for Ash.Resource.Calculation.strict_loads?/0.