DSL entity for an inherited_party declaration inside parties do on an Instance resource.
Generates an Ash calculation of the same name as role that traverses the assignment
graph to inherit a party from a related source instance. The calculation is injected
by TransformInheritedRefs at compile time — no PartyRef edge is created on the
consuming instance itself.
Fields
role— atom; the name of the generated calculation (and the party slot name from the consumer's perspective).source_role— atom; thePartyRefrole to read from the resolved source instance (e.g.:provider). Required.via— optional list of alias atoms for multi-hop traversal. When nil the role name is used as the single alias step (single-hop default). When provided, each step filtersAssignmentRelationshipby that alias atom before followingsource_idto the next set of instances.
Example
parties do
inherited_party :provider, source_role: :provider
inherited_party :nni_owner, via: [:uplink], source_role: :owner
end