Module

x/pothos/packages/core/fieldUtils/base.ts>default#exposeField

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method default.prototype.exposeField
import { default } from "https://dotland.deno.dev/x/pothos@release-1716310600/packages/core/fieldUtils/base.ts";

Type Parameters

Type extends TypeParam<Types>
Nullable extends FieldNullability<Type>
Name extends string & keyof ParentShape

Parameters

name: Name
unnamed 1: Omit<PothosSchemaTypes.ObjectFieldOptions<Types, ParentShape, Type, Nullable, { }, { }>, "resolve">