GraphQL-Scalars

Common custom GraphQL Scalars for precise type-safe GraphQL schemas

Documentation
GitHubGitHub
  • 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
    • Ssn
    • Usage Example
    • GraphQL-Yoga
    • Apollo Server
    • Mocks
    • Generate your own scalars from regex
Question? Give us feedback →Edit this page on GitHub
Documentation
Available Scalars
LocalDateTime

LocalDateTime

A local date-time string (i.e., with no associated timezone) in YYYY-MM-DDTHH:mm:ss format, e.g. 2020-01-01T00:00:00. The value is serialized and deserialized as a string as a signal to both clients and resolvers that special care must be taken with the value when converting it to any date/time type that includes a timezone, e.g., a JavaScript Date.

LocalDateLocalEndTime

Products

  • Hive
  • Mesh
  • Yoga
  • Code Generator
  • Nextra
  • GraphQL to REST

Resources

  • Press Kit

Company

  • About
  • Blog
  • Newsletter
DiscordGitHub
Cloud Security Alliance Star Level One Badge