Skip to main content

Module command

Module command 

Source
Expand description

Typed claim commands, events and model-facing argument shapes.

The interesting line here is that ClaimCommand::ReviseProposedField and ClaimCommand::AcceptProposal are two commands with two operation keys and two policies. Editing a proposed value and answering the review are different acts, and keeping them apart in the command vocabulary is what makes them distinguishable everywhere downstream: in the plan, in the journal, in the receipt and in the replay record.

Modules§

operations
Keys of the operations the interpreter may propose.

Structs§

AttachArgs
Arguments of operations::ATTACH_RECEIPT.
ReferenceArgs
Arguments of operations::SET_REFERENCE.
ReviseArgs
Arguments of operations::REVISE_PROPOSED_FIELD.

Enums§

ClaimCommand
One typed claim command.
ClaimEvent
One committed claim event.