@graphql-reshape/scalars

0.3.0 • Public • Published

@graphql-reshape/scalars

GraphQL Reshape Logo

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.

Package Sidebar

Install

npm i @graphql-reshape/scalars

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

8.97 kB

Total Files

11

Last publish

Collaborators

  • zieka