Module

x/pothos/packages/plugin-smart-subscriptions/index.ts>CacheNode

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class CacheNode
import { CacheNode } from "https://dotland.deno.dev/x/pothos@release-1689883337/packages/plugin-smart-subscriptions/index.ts";

Constructors

new
CacheNode(
path: string,
value: unknown,
refetch: () => MaybePromise<void>,
)

Properties

fieldManager: FieldSubscriptionManager<Types> | null
path: string
refetch: () => MaybePromise<void>
typeManagers: Map<number | string, TypeSubscriptionManager>
value: unknown

Methods

managerForType(key: number | string)
replaceValue(value: unknown, key: number | string)