Module

x/graphql_deno/mod.ts>parse

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