Skip to main content
Module

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

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

Type Parameters

Types extends SchemaTypes
LoadResult
Key extends bigint | number | string
Interfaces extends InterfaceParam<Types>[]
NameOrRef extends InterfaceParam<Types> | string
CacheKey
optional
Shape = ShapeFromLoadResult<LoadResult>
definition: DataLoaderOptions<Types, LoadResult, Key, CacheKey, Shape> & InterfaceTypeOptions<Types, NameOrRef extends InterfaceParam<Types> ? NameOrRef : InterfaceRef<Types, Shape>, Shape, Interfaces>