Skip to main content
Module

x/pothos/packages/core/builder.ts>SchemaBuilder#interfaceField

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

Type Parameters

Type extends InterfaceParam<Types>

Parameters

ref: Type
fieldName: string
field: InterfaceFieldThunk<Types, ParentShape<Types, Type>>