/grape-rs

Grape is a GraphQL Lexer, Parser, Validator, and Runtime.

Primary LanguageRust

Grape

Grape is a GraphQL Lexer, Parser, Validator, and Runtime.

use grape::Parse;

fn main() {
  let source = "{ post { user } }";
  let mut parse = Parse::new(source);
  let document = parse.document();
  println!("{:#?}", document);
}