Skip to main content
Module

x/pothos/packages/plugin-dataloader/mod.ts>ImplementableLoadableNodeRef

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

Constructors

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

Type Parameters

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

Properties

private
idOptions
parseId: ((id: string, ctx: object) => IDShape) | undefined