async_graphql_parser

Function parse_query

source
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.