Function graphql_parser::query::parse_query
source · pub fn parse_query<'a, S>(s: &'a str) -> Result<Document<'a, S>, ParseError>where
S: Text<'a>,
Expand description
Parses a piece of query language and returns an AST
pub fn parse_query<'a, S>(s: &'a str) -> Result<Document<'a, S>, ParseError>where
S: Text<'a>,
Parses a piece of query language and returns an AST