Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/core/mod.ts>BasePlugin#requestData

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method BasePlugin.prototype.requestData
Re-export
import { BasePlugin } from "https://deno.land/x/pothos@release-1716310600/packages/core/mod.ts";

Returns a data object for the current request. requires createRequestData to be implemented

Parameters

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

Returns

T
  • The data object for the current request