graphql_parser::schema

Function parse_schema

Source
pub fn parse_schema<'a, T>(s: &'a str) -> Result<Document<'a, T>, ParseError>
where T: Text<'a>,
Expand description

Parses a piece of schema language and returns an AST