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

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

Type Parameters

Name extends ScalarName<Types>

Parameters

name: Name
options: PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, ParentShape<Types, Name>>