pub fn prepare(
schema: &Valid<Schema>,
query: &str,
operation_name: Option<&str>,
variables: &Map<String, Value>,
) -> Result<Prepared, RequestErrors>Expand description
Parse, validate, pick the operation and coerce variables — every request error in the spec’s order (parse → validate → operation → variables).