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

x/pothos/packages/plugin-relay/utils/index.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-1693334611/packages/plugin-relay/utils/index.ts";

Type Parameters

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

Returns

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