GraphQL supports build-in scalers, for example, String, Int, Float, Boolean, and ID, but sometimes built-in scalers cannot hold all the values such as date, Json, Locale, Currency etc, so support other types of variables, GraphQL provided Custom Scalers.