Module

x/pothos/packages/core/index.ts>BasePlugin#createRequestData

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method BasePlugin.prototype.createRequestData
import { BasePlugin } from "https://dotland.deno.dev/x/pothos@release-1713397530/packages/core/index.ts";

Creates a data object unique to the current request for use by this plugin

Parameters

context: Types["Context"]
  • the context object for the current request

Returns

T
  • The data object for the current request