Skip to main content
Module

x/graphql_deno/lib/execution/values.js

GraphQL-JS ported to Deno
Latest
import * as graphqlDeno from "https://deno.land/x/graphql_deno@v15.0.0/lib/execution/values.js";

Functions

Prepares an object map of argument values given a list of argument definitions and list of argument AST nodes.

Prepares an object map of argument values given a directive definition and a AST node which may contain directives. Optionally also accepts a map of variable values.

Prepares an object map of variableValues of the correct type based on the provided variable definitions and arbitrary input. If the input cannot be parsed to match the variable definitions, a GraphQLError will be thrown.