Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/core/builder.ts>default#objectType

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

Type Parameters

Interfaces extends InterfaceParam<Types>[]
Param extends ObjectParam<Types>

Parameters

param: Param
optional
fields: ObjectFieldsShape<Types, ParentShape<Types, Param>>