Skip to main content

compile_action

Function compile_action 

Source
fn compile_action(
    artifact_root: &Path,
    feature_id: &str,
    action_id: &str,
    action: &Value,
    queries: &Map<String, Value>,
) -> Result<(Value, Value), FeatureCompileError>
Expand description

Compiles one action declaration into a route and lower-level action contract.