Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Type Parameters

Types extends SchemaTypes
Shape
Key extends bigint | number | string
Interfaces extends InterfaceParam<Types>[]
NameOrRef extends ObjectParam<Types> | string
CacheKey
definition: DataLoaderOptions<Types, Shape, Key, CacheKey> & ObjectTypeOptions<Types, NameOrRef extends ObjectParam<Types> ? NameOrRef : ObjectRef<Shape>, Shape, Interfaces>