Skip to main content
Module

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

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

Type Parameters

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

Returns

PothosSchemaTypes.InterfaceRef<Types, AbstractReturnShape<Types, Param, ResolveType>, ParentShape<Types, Param>>