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

x/pothos/packages/core/utils/input.ts>createInputValueMapper

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
function createInputValueMapper
import { createInputValueMapper } from "https://deno.land/x/pothos@release-1725695129/packages/core/utils/input.ts";

Type Parameters

Types extends SchemaTypes
T
optional
Args extends unknown[] = []

Parameters

argMap: InputFieldsMapping<Types, T>
mapValue: (
val: unknown,
mapping: InputFieldMapping<Types, T>,
...args: Args,
) => unknown