Skip to main content
Module

x/pothos/packages/core/index.ts>valuesFromEnum

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
function valuesFromEnum
import { valuesFromEnum } from "https://deno.land/x/pothos@release-1713397530/packages/core/index.ts";

Parameters

Enum: BaseEnum
optional
values: Record<string, Omit<PothosSchemaTypes.EnumValueConfig<Types>, "value">>