Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getArgumentValues

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.

function getArgumentValues(
def: GraphQLField<unknown, unknown> | GraphQLDirective,
variableValues?: Maybe<ObjMap<unknown>>,
): {
[argument: string]: unknown;
}
;
§
getArgumentValues(def: GraphQLField<unknown, unknown> | GraphQLDirective, node: FieldNode | DirectiveNode, variableValues?: Maybe<ObjMap<unknown>>): {
[argument: string]: unknown;
}
[src]

§Parameters

§
def: GraphQLField<unknown, unknown> | GraphQLDirective
[src]
§
variableValues?: Maybe<ObjMap<unknown>> optional
[src]

§Return Type

§
{
[argument: string]: unknown;
}
[src]