• Solutions
  • Ecosystem
  • Blog
  • Our Services
  • About Us

GraphQL Scalars

Common custom GraphQL Scalars for precise type-safe GraphQL schemas

HomeDocsContact Us
GitHubGitHub
  • Introduction
  • Quick Start
  • Scalars
    • AccountNumber
    • BigInt
    • Byte
    • CountryCode
    • Currency
    • Date
    • DateTime
    • DID
    • Duration
    • EmailAddress
    • HexColorCode
    • Hexadecimal
    • HSL
    • IPv4
    • IPv6
    • IBAN
    • ISBN
    • JSON
    • JSONObject
    • JWT
    • Latitude
    • LocalDate
    • LocalEndTime
    • LocalTime
    • Locale
    • Longitude
    • MAC
    • NegativeFloat
    • NegativeInt
    • NonEmptyString
    • NonNegativeFloat
    • NonNegativeInt
    • NonPositiveFloat
    • NonPositiveInt
    • ObjectID
    • PhoneNumber
    • Port
    • PositiveFloat
    • PositiveInt
    • PostalCode
    • RegularExpression
    • RGB
    • RGBA
    • RoutingNumber
    • SafeInt
    • Time
    • TimeZone
    • Timestamp
    • URL
    • USCurrency
    • UTCOffset
    • UUID
    • Void
  • Usage
    • Apollo Server
    • Mocks
    • Generate your own scalars from regex
  • Home
  • Docs
    • Introduction
    • Quick Start
    • Scalars
      • AccountNumber
      • BigInt
      • Byte
      • CountryCode
      • Currency
      • Date
      • DateTime
      • DID
      • Duration
      • EmailAddress
      • HexColorCode
      • Hexadecimal
      • HSL
      • IPv4
      • IPv6
      • IBAN
      • ISBN
      • JSON
      • JSONObject
      • JWT
      • Latitude
      • LocalDate
      • LocalEndTime
      • LocalTime
      • Locale
      • Longitude
      • MAC
      • NegativeFloat
      • NegativeInt
      • NonEmptyString
      • NonNegativeFloat
      • NonNegativeInt
      • NonPositiveFloat
      • NonPositiveInt
      • ObjectID
      • PhoneNumber
      • Port
      • PositiveFloat
      • PositiveInt
      • PostalCode
      • RegularExpression
      • RGB
      • RGBA
      • RoutingNumber
      • SafeInt
      • Time
      • TimeZone
      • Timestamp
      • URL
      • USCurrency
      • UTCOffset
      • UUID
      • Void
    • Usage
      • Apollo Server
      • Mocks
      • Generate your own scalars from regex
  • Contact Us
Question? Give us feedback →Edit this page on GitHub
Docs
Scalars
BigInt

BigInt

A long integer type for graphql-js. It uses native BigInt implementation of JavaScript.

GraphQLError: Argument "num" has invalid value 9007199254740990.
              Expected value of type ""Int"", found 9007199254740990.

To support BigInt in JSON.parse and JSON.stringify, it is recommended to install this npm package together with this scalar. Otherwise, JavaScript will serialize the value as a string. json-bigint-patch.

AccountNumber
Byte

PRODUCTS

  • Hive
  • Yoga
  • Envelop
  • Inspector
  • Code Generator
  • Mesh
  • Tools
  • Modules
  • ESLint
  • Config
  • Scalars
  • Helix
  • Shield
  • Swift
  • CLI
  • SOFA
  • Stencil
  • Angular
  • WhatsApp
  • KitQL

COMPANY

  • About
  • Blog
  • GitHub

COMMUNITY

  • Twitter
  • LinkedIn
  • Discord
  • Medium
  • YouTube