Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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://deno.land/x/pothos@release-1719071157/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">