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#unionType

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

Type Parameters

Member extends ObjectParam<Types>
ResolveType

Parameters

name: string
options: PothosSchemaTypes.UnionTypeOptions<Types, Member, ResolveType>