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#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
Re-export
import { BasePlugin } from "https://deno.land/x/pothos@release-1703191169/packages/core/mod.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