Pure interpretation of an authority-changing Act.
Both commit construction and replay need to answer the same two questions: which Mandate changed, and whether a pending descendant is affected. Keeping those answers here prevents dispatch cancellation from acquiring a second, subtly different ancestry implementation.
Summary
Functions
Checks whether a Mandate falls under the resolved authority change.
Returns the cascade policy declared by a Mandate, defaulting safely to false.
Resolves the target and cascade semantics of an already-folded authority change.
Types
Functions
Checks whether a Mandate falls under the resolved authority change.
Returns the cascade policy declared by a Mandate, defaulting safely to false.
@spec resolve(map(), ExGAM.Act.t(), :mandate_revoked | :mandate_restricted) :: resolution()
Resolves the target and cascade semantics of an already-folded authority change.