pub fn resolve_default(
scope: &Scope,
path: &VarPath,
) -> Result<Option<Value>, String>Expand description
${path:-default} decision over the shared path resolver (decision A):
Ok(Some(v)) use the value, Ok(None) use the default (absence or
emptiness), Err(msg) a loud shape error the default does NOT suppress. An
unset root, a missing key, and an out-of-bounds index all fold into the
default; only a wrong-shaped access shouts.