Skip to main content
Module

x/shark/deps.ts>parse

Graphql proxy for multiple graphql server.
Latest
function parse
import { parse } from "https://deno.land/x/shark@1.1.0/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 | undefined

Returns

DocumentNode