Ash calculation that maps each transition of a record's current step to the
step it would move the record to, as AshWorkflow.Info.transition_target/3
resolves it.
The keys are the transitions the current step declares, the same list as
:available_actions without an actor. The map is not filtered by
authorization; load :available_actions with an actor for that.
A transition resolves to nil when no route matches or a route fails to
evaluate. A record in an automatic or terminal step gets an empty map.
The calculation loads every field the route conditions reference, including fields on related resources, as the transition action does.
Routes that read accepted input see none here, since a preview has no input.
Summary
Functions
Callback implementation for Ash.Resource.Calculation.describe/1.
Callback implementation for Ash.Resource.Calculation.has_expression?/0.
Callback implementation for Ash.Resource.Calculation.init/1.
Callback implementation for Ash.Resource.Calculation.strict_loads?/0.
Functions
Callback implementation for Ash.Resource.Calculation.describe/1.
Callback implementation for Ash.Resource.Calculation.has_expression?/0.
Callback implementation for Ash.Resource.Calculation.init/1.
Callback implementation for Ash.Resource.Calculation.strict_loads?/0.