Skip to main content

parse_graphql_sdl

Function parse_graphql_sdl 

Source
pub fn parse_graphql_sdl(path: &Path) -> Result<GraphQLSchema>
Expand description

Parse GraphQL SDL from a file

§Arguments

  • path - Path to .graphql or .gql file containing SDL

§Returns

Parsed GraphQLSchema or error