Crate async_graphql_parser

Source
Expand description

A parser for GraphQL. Used in the async-graphql crate.

It uses the pest crate to parse the input and then transforms it into Rust types.

Modules§

types
GraphQL types.

Structs§

ErrorPositions
An iterator over the positions inside an error.
Pos
Original position of an element in source code.
Positioned
An AST node that stores its original position.

Enums§

Error
Parser error.

Functions§

parse_query
Parse a GraphQL query document.
parse_schema
Parse a GraphQL schema document.

Type Aliases§

Result
An alias for Result<T, Error>.