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
Go to Latest
function resolveCursorConnection
import { resolveCursorConnection } from "https://deno.land/x/pothos@release-1721854018/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>>>