Skip to main content
Module

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

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method BaseFieldUtil.prototype.exposeField
import { BaseFieldUtil } from "https://deno.land/x/pothos@release-1720765432/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: PothosSchemaTypes.ObjectFieldOptions<Types, ParentShape, Type, Nullable, { }, { }>