Module

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

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class ImplementableLoadableInterfaceRef
extends ImplementableInterfaceRef<Types, RefShape, Shape>
import { ImplementableLoadableInterfaceRef } from "https://dotland.deno.dev/x/pothos@release-1670972010/packages/plugin-dataloader/mod.ts";

Constructors

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

Type Parameters

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

Properties

cacheResolved
getDataloader

Methods

implement<Interfaces extends InterfaceParam<Types>[]>(options: InterfaceTypeOptions<Types, ImplementableInterfaceRef<Types, RefShape, Shape>, Shape, Interfaces>): InterfaceRef<RefShape, Shape>