Skip to main content

bind_guard_preconditions

Function bind_guard_preconditions 

Source
fn bind_guard_preconditions(
    app: &AppRuntime,
    feature: &Value,
    guard_contract: Option<&Value>,
    context: &mut FeatureRequestContext,
    schema: &AppSchema,
    steps: &mut Vec<Mutation>,
    action_id: &str,
) -> Result<(), FeatureRuntimeError>
Expand description

Checks declared guards before writes and binds their read set into the transaction.