Module

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

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

Constructors

new
LoadableObjectRef(name: string, getDataloader: (context: Types["Context"]) => DataLoader<Key, Shape, CacheKey>)

Type Parameters

Types extends SchemaTypes
RefShape
Shape
Key
CacheKey

Properties

getDataloader
import LoadableObjectRef
import { LoadableObjectRef } from "https://dotland.deno.dev/x/pothos@release-1726524975/packages/plugin-dataloader/index.ts";