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>LoaderShapeFromType

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

Type Parameters

Types extends SchemaTypes
Type extends TypeParam<Types>
Nullable extends FieldNullability<Type>
definition: Type extends [TypeParam<Types>] ? ShapeFromTypeParam<Types, Type[0], Nullable> : ShapeFromTypeParam<Types, Type, Nullable>