import { BasePlugin } from "https://deno.land/x/pothos@release-1695766300/packages/core/plugins/index.ts";
Called with the resolveType for each Interface or Union type
Parameters
typeConfig: PothosInterfaceTypeConfig | PothosUnionTypeConfig
- the config object for the Interface or Union type
Returns
GraphQLTypeResolver<unknown, Types["Context"]>
- Either the original, or a new resolveType function to use for this field