Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pothos/packages/plugin-relay/utils/index.ts>resolveArrayConnection

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Latest
function resolveArrayConnection
import { resolveArrayConnection } from "https://deno.land/x/pothos@release-1730496474/packages/plugin-relay/utils/index.ts";

Parameters

options: ResolveArrayConnectionOptions
array: readonly T[]

Returns

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