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

x/pothos/packages/plugin-smart-subscriptions/mod.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://deno.land/x/pothos@release-1721977283/packages/plugin-smart-subscriptions/mod.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)