Skip to main content
Module

x/graphql_deno/lib/index.d.ts>parse

GraphQL-JS ported to Deno
Latest
function parse
import { parse } from "https://deno.land/x/graphql_deno@v15.0.0/lib/index.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