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

x/pothos/packages/plugin-relay/utils/connections.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://deno.land/x/pothos@release-1725301526/packages/plugin-relay/utils/connections.ts";

Parameters

options: ResolveArrayConnectionOptions
array: readonly T[]

Returns

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