Skip to main content
Module

x/guardenoql/deps.ts>parse

Simple and customizable security middleware for GraphQL servers in Deno.
function parse
import { parse } from "https://deno.land/x/guardenoql@v1.0.1/deps.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