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

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

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

Type Parameters

Types extends SchemaTypes
T
definition: { kind: "Enum"; isList: boolean; config: PothosInputFieldConfig<Types>; value: T; } | { kind: "InputObject"; config: PothosInputFieldConfig<Types>; isList: boolean; value: T | null; fields: InputTypeFieldsMapping<Types, T>; } | { kind: "Scalar"; isList: boolean; config: PothosInputFieldConfig<Types>; value: T; }