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-1713397530/packages/plugin-relay/mod.ts";

Parameters

options: ResolveArrayConnectionOptions
array: readonly T[]

Returns

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