Skip to main content
Module

x/pothos/packages/plugin-mocks/index.ts>PothosMocksPlugin#resolveMock

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method PothosMocksPlugin.prototype.resolveMock
import { PothosMocksPlugin } from "https://deno.land/x/pothos@release-1723512702/packages/plugin-mocks/index.ts";

Parameters

typename: string
fieldName: string
mocks: ResolverMap<Types>