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

x/pothos/packages/plugin-dataloader/index.ts>ImplementableLoadableObjectRef

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

Constructors

new
ImplementableLoadableObjectRef(
builder: PothosSchemaTypes.SchemaBuilder<Types>,
name: string,
unnamed 2: DataLoaderOptions<Types, Shape | Error, Key, CacheKey, Shape>,
)

Type Parameters

Types extends SchemaTypes
RefShape
Shape
Key extends bigint | number | string
CacheKey

Properties

protected
cacheResolved
getDataloader