GitHub

\@scalar

When applied to application domains, Database type systems are very rudimentary. This poses the problem of field validation and data serialization/deserialization across the wire. GraphQL offers a very elegant solution in Scalars.

Built-in support for scalars

Noun & Verb supports this with the scalar annotation. Further, it combines the variables supported by validator.js and supports these 76 scalar types out-of-the-box.

Specifying Custom scalar

Please see the section on scalars for details on adding custom scalars.

How scalars work