Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pothos/packages/plugin-relay/utils/index.ts>encodeGlobalID

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

Parameters

typename: string
id: bigint | number | string