Skip to main content
Module

x/pothos/packages/plugin-relay/mod.ts>NodeRef

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class NodeRef
extends ObjectRef<T, P>
import { NodeRef } from "https://deno.land/x/pothos@release-1713397530/packages/plugin-relay/mod.ts";

Constructors

new
NodeRef(name: string, options: { parseId?: (id: string, ctx: object) => IDShape; })

Type Parameters

T
optional
P = T
optional
IDShape = string

Properties

parseId: ((id: string, ctx: object) => IDShape) | undefined
[relayIDShapeKey]: IDShape