[][src]Function async_graphql_parser::parse_schema

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

Parse a GraphQL schema document.

Errors

Fails if the schema is not a valid GraphQL document.