Module

x/graphql_deno/lib/index.js>graphqlSync

GraphQL-JS ported to Deno
Latest
function graphqlSync
import { graphqlSync } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/index.js";

The graphqlSync function also fulfills GraphQL operations by parsing, validating, and executing a GraphQL document along side a GraphQL schema. However, it guarantees to complete synchronously (or throw an error) assuming that all field resolvers are also synchronous.

Parameters

argsOrSchema
source
rootValue
contextValue
variableValues
operationName
fieldResolver
typeResolver