SEPTEMBER 19-21, 2023 • SAN FRANCISCO
Register Now!
SEPTEMBER 19-21, 2023 • SAN FRANCISCO
  • Solutions
  • Ecosystem
  • Blog
  • Our Services
  • About Us
  • Contact Us

GraphQL Scalars

Common custom GraphQL Scalars for precise type-safe GraphQL schemas

DocsDocsGitHubGitHub (opens in a new tab)
  • Introduction
  • Quick Start
    • AccountNumber
    • BigInt
    • Byte
    • CountryCode
    • Cuid
    • Currency
    • Date
    • DateTime
    • DeweyDecimal
    • DID
    • Duration
    • EmailAddress
    • HexColorCode
    • Hexadecimal
    • HSL
    • IBAN
    • IP
    • IPCPatent
    • IPv4
    • IPv6
    • ISBN
    • JSON
    • JSONObject
    • JWT
    • Latitude
    • LocalDate
    • LocalDateTime
    • LocalEndTime
    • LocalTime
    • Locale
    • Longitude
    • MAC
    • NegativeFloat
    • NegativeInt
    • NonEmptyString
    • NonNegativeFloat
    • NonNegativeInt
    • NonPositiveFloat
    • NonPositiveInt
    • ObjectID
    • PhoneNumber
    • Port
    • PositiveFloat
    • PositiveInt
    • PostalCode
    • RegularExpression
    • RGB
    • RGBA
    • RoutingNumber
    • SafeInt
    • SemVer
    • Time
    • TimeZone
    • Timestamp
    • URL
    • USCurrency
    • UTCOffset
    • UUID
    • Void
    • Usage Example
    • GraphQL-Yoga
    • Apollo Server
    • Mocks
    • Generate your own scalars from regex
Question? Give us feedback → (opens in a new tab)Edit this page on GitHub
Docs
Available Scalars
NonEmptyString

NonEmptyString

A field whose value can accept any string except empty ones. It will trim any additional white space before validation. This is useful for required strings that you wish to also force a value for. "" or " " are both considered invalid values.

NegativeIntNonNegativeFloat

PRODUCTS

  • Hive
  • Conductor
  • Yoga
  • Envelop
  • Stitching
  • Inspector
  • Code Generator
  • Mesh
  • Tools
  • Modules
  • ESLint
  • Config
  • feTS
  • Scalars
  • Shield
  • SOFA
  • Angular
  • WhatsApp
  • KitQL
  • WS
  • SSE

RESOURCES

  • Press Kit

COMPANY

  • About
  • Blog
  • Newsletter
  • Open Source
  • Services
  • GitHub

COMMUNITY

  • Twitter
  • LinkedIn
  • Discord
  • Medium
  • YouTube
Cloud Security Alliance Star Level One Badge