Function graphql_toolkit_parser::parse_query

source ·
pub fn parse_query<T>(input: T) -> Result<ExecutableDocument, Error>
where T: AsRef<str>,
Expand description

Parse a GraphQL query document.

§Errors

Fails if the query is not a valid GraphQL document.