lib/graphql/language/parser.y in graphql-1.0.0 vs lib/graphql/language/parser.y in graphql-1.1.0

- old
+ new

@@ -346,10 +346,10 @@ @query_string = query_string end def parse_document @document ||= begin - @tokens ||= GraphQL::Language::Lexer.tokenize(@query_string) + @tokens ||= GraphQL.scan(@query_string) if @tokens.none? make_node(:Document, definitions: []) else do_parse end