Skip to main content
Latest
function parse
import { parse } from "https://deno.land/x/graphql_deno@v15.0.0/lib/language/parser.d.ts";

Given a GraphQL source, parses it into a Document. Throws GraphQLError if a syntax error is encountered.

Parameters

source: string | Source
optional
options: ParseOptions