Skip to main content
function parse
import { parse } from "https://deno.land/x/kilatgraphql@16.6.0/mod.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 | undefined