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

x/pothos/packages/plugin-dataloader/types.ts>LoadableNodeOptions

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Latest
type alias LoadableNodeOptions
import { type LoadableNodeOptions } from "https://deno.land/x/pothos@release-1730496474/packages/plugin-dataloader/types.ts";

Type Parameters

Types extends SchemaTypes
LoadResult
Interfaces extends InterfaceParam<Types>[]
NameOrRef extends ObjectParam<Types> | string
optional
IDShape extends bigint | number | string = string
optional
Key extends bigint | number | string = IDShape
optional
CacheKey = Key
optional
Shape = ShapeFromLoadResult<LoadResult>
definition: DataloaderObjectTypeOptions<Types, LoadResult, Key, Interfaces, NameOrRef, CacheKey, Shape> & LoadableNodeId<Types, Shape, IDShape>