async_graphql_parser

Function parse_schema

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

Parse a GraphQL schema document.

ยงErrors

Fails if the schema is not a valid GraphQL document.