Introduction
Scalar types are the basic building blocks for data in GraphQL. They represent simple values like text, numbers, or true/false.
When you want to store a person's name as text.
When you need to save an age as a whole number.
When you want to record a price with decimals.
When you need to store a true or false value, like if a user is active.
When you want to uniquely identify an object with an ID.