Skip to main content

live_gate_resolves_true

Function live_gate_resolves_true 

Source
pub fn live_gate_resolves_true(
    inputs: &[StackInputDefinition],
    input_id: &str,
    input_values: &HashMap<String, Value>,
    persisted_gate_answers: &GateAnswers,
    still_frozen_gating: &HashSet<String>,
    resource_id: &str,
) -> Result<(bool, &'static str), String>
Expand description

A live gate’s answer: the provided value, else the answer recorded when the deployment was created (frozen dominance — a live resource sharing a frozen-gating input follows the fixed answer, not the declared default), else the declared default.