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

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

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

Parameters

source: Source | string
optional
rootValue: any
optional
contextValue: any
optional
variableValues: Maybe<{ [key: string]: any; }>
optional
operationName: Maybe<string>
optional
fieldResolver: Maybe<GraphQLFieldResolver<any, any>>
optional
typeResolver: Maybe<GraphQLTypeResolver<any, any>>