Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drash/src/services/graphql/graphql.ts>GraphQL.parse

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
function GraphQL.parse
import { GraphQL } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/graphql.ts";
const { parse } = GraphQL;

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

Parameters

source: string | Source
optional
options: ParseOptions