pub fn parse_query<T: AsRef<str>>(input: T) -> Result<ExecutableDocument>
Expand description

Parse a GraphQL query document.

Errors

Fails if the query is not a valid GraphQL document.