Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bq-oak-graphql/graphql-tools/utils/getArgumentValues.ts>getArgumentValues

A simple graphql middleware for oak deno framework.
Latest
function getArgumentValues
import { getArgumentValues } from "https://deno.land/x/bq-oak-graphql@v2.0/graphql-tools/utils/getArgumentValues.ts";

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

Note: The returned value is a plain Object with a prototype, since it is exposed to user code. Care should be taken to not pull values from the Object prototype.

Parameters

def: any
node: any
optional
variableValues: Record<string, any> = [UNSUPPORTED]

Returns

Record<string, any>