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

x/pothos/packages/plugin-dataloader/refs/index.ts>LoadableUnionRef

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class LoadableUnionRef
extends UnionRef<RefShape, Shape>
import { LoadableUnionRef } from "https://deno.land/x/pothos@release-1699481559/packages/plugin-dataloader/refs/index.ts";

Constructors

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

Type Parameters

Types extends SchemaTypes
RefShape
Shape
Key
CacheKey

Properties

getDataloader