Skip to main content

interpolate_string

Function interpolate_string 

Source
pub fn interpolate_string(
    s: &str,
    store: &VariableStore,
    operation_id: &str,
) -> Result<String, Error>
Expand description

Interpolates {{variable}} references in a single string.

ยงErrors

Returns an error if the string references an undefined variable.