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

x/pothos/packages/plugin-dataloader/refs/node.ts>ImplementableLoadableNodeRef

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

Constructors

new
ImplementableLoadableNodeRef(
builder: PothosSchemaTypes.SchemaBuilder<Types>,
name: string,
)

Type Parameters

Types extends SchemaTypes
RefShape
Shape
optional
IDShape extends bigint | number | string = string
optional
Key extends bigint | number | string = IDShape
optional
CacheKey = Key

Properties

protected
cacheResolved
getDataloader
parseId: ((id: string, ctx: object) => IDShape) | undefined