Module

x/pothos/packages/plugin-errors/types.ts>ErrorsPluginOptions

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
interface ErrorsPluginOptions
import { type ErrorsPluginOptions } from "https://dotland.deno.dev/x/pothos@release-1689883337/packages/plugin-errors/types.ts";

Properties

optional
defaultTypes: (new (...args: any[]) => Error)[]
optional
directResult: boolean
optional
defaultUnionOptions: Normalize<Omit<PothosSchemaTypes.UnionTypeOptions<Types>, "resolveType" | "types"> & { name?: GetTypeName; }>
optional
defaultResultOptions: Normalize<Omit<PothosSchemaTypes.ObjectTypeOptions<Types, { }>, "interfaces" | "isTypeOf"> & { name?: GetTypeName; }>