Skip to main content
Module

x/graphql_deno/lib/language/parser.d.ts

GraphQL-JS ported to Deno
Latest
import * as graphqlDeno from "https://deno.land/x/graphql_deno@v15.0.0/lib/language/parser.d.ts";

Functions

Given a GraphQL source, parses it into a Document. Throws GraphQLError if a syntax error is encountered.

Given a string containing a GraphQL Type (ex. [Int!]), parse the AST for that type. Throws GraphQLError if a syntax error is encountered.

Given a string containing a GraphQL value, parse the AST for that value. Throws GraphQLError if a syntax error is encountered.

Interfaces

Configuration options to control parser behavior