Skip to main content

build_graphql_document

Function build_graphql_document 

Source
pub fn build_graphql_document(
    cmd: &CommandDef,
    values: &BTreeMap<String, Value>,
    stdin_vars: Option<Map<String, Value>>,
    schema: &Value,
    fields_override: Option<&str>,
) -> Result<(String, Map<String, Value>, String)>
Expand description

Build document + variables from parsed CLI args.