Skip to main content
Module

x/graphql_tag/deps.ts>parse

🦕 Create a GraphQL schema AST from template literal. Deno port of `graphql-tag` library
Go to Latest
function parse
import { parse } from "https://deno.land/x/graphql_tag@0.1.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 | undefined