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

x/drash/src/services/graphql/deps.ts>GraphQL.concatAST

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

Provided a collection of ASTs, presumably each from different files, concatenate the ASTs together into batched AST, useful for validating many GraphQL source files which together represent one conceptual application.

Parameters

asts: ReadonlyArray<DocumentNode>