Function graphql_toolkit_parser::parse_schema

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

Parse a GraphQL schema document.

§Errors

Fails if the schema is not a valid GraphQL document.