Module

x/pothos/packages/plugin-relay/mod.ts>resolveArrayConnection

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
function resolveArrayConnection
import { resolveArrayConnection } from "https://dotland.deno.dev/x/pothos@release-1670972010/packages/plugin-relay/mod.ts";

Parameters

options: ResolveArrayConnectionOptions
array: T[]

Returns

ConnectionShape<SchemaTypes, NonNullable<T>, boolean, T extends NonNullable<T> ? false : { list: false; items: true; }, false>