Module

x/pothos/packages/plugin-scope-auth/request-cache.ts>default.fromContext

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method default.fromContext
import { default } from "https://dotland.deno.dev/x/pothos@release-1713397530/packages/plugin-scope-auth/request-cache.ts";

Type Parameters

T extends SchemaTypes

Parameters

context: T["Context"]
builder: PothosSchemaTypes.SchemaBuilder<T>

Returns

RequestCache<T>