Function async_graphql_parser::parse_schema[][src]

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.