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

x/pothos/packages/plugin-relay/utils/connections.ts>resolveCursorConnection

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

Type Parameters

U extends Promise<readonly unknown[] | null> | readonly unknown[] | null

Returns

Promise<RemoveMaybePromiseProps<ConnectionShape<SchemaTypes, NodeType<U>, false, false, false>>>