HK Blog

Home

❯

Full Stack

❯

Library

❯

GraphQL

❯

GraphQL Scalar

GraphQL Scalar

Apr 10, 20251 min read

GraphQL has limited built-in scalar types. You can define your own scalar types.

The method and library to use depends on the GraphQL framework you are using.

See this for how to define your own scalar types in apollo.

  • https://www.apollographql.com/docs/apollo-server/schema/custom-scalars/

Scalar Library

Of course there are libraries that provide common scalar types. Simply add them to your resolver.

  • https://the-guild.dev/graphql/scalars/docs/quick-start

Graph View

Created with Quartz v4.5.0 © 2025

  • GitHub
  • Discord Community