0.3.0 • Published 4 years ago

@graphql-reshape/scalars v0.3.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@graphql-reshape/scalars

How to install

npm i @graphql-reshape/scalars

What is a custom scalar?

The GraphQL specification has the following scalars types:

  • Int
  • Float
  • String
  • Boolean
  • ID

Custom scalars extend this to include other common types and/or validations.

How to use

Add a custom resolver mapping for the scalar being used.