Skip to main content
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
Latest
function resolveCursorConnection
import { resolveCursorConnection } from "https://deno.land/x/pothos@release-1726524975/packages/plugin-relay/utils/index.ts";

Type Parameters

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

Parameters

options: ResolveCursorConnectionOptions<NodeType<U>>
resolve: (params: ResolveCursorConnectionArgs) => U

Returns

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