import { BasePlugin } from "https://deno.land/x/pothos@release-1713397530/packages/core/mod.ts";
Called with the resolver for each field in the schema
Parameters
resolver: GraphQLFieldResolver<unknown, Types["Context"], object>
- the resolve function
fieldConfig: PothosOutputFieldConfig<Types>
- the config object for the field associated with this resolve function
Returns
GraphQLFieldResolver<unknown, Types["Context"], object>
- Either the original, or a new resolver function to use for this field