Boolean, and ID.: Graphql
Boolean, and ID.: Graphql
1. Scalar Types: These are the basic data types in GraphQL, such as String, Int, Float,
Boolean, and ID.
2. Custom Object Types: You can define custom object types that represent your data
models. For example, if you're building an e-commerce API, you might define types like
Product, User, Order, etc.
3. Queries: Queries define the operations that can be performed to read data from the API.
These are often analogous to GET requests in REST.
4. Mutations: Mutations define the operations that modify data on the server, such as
creating, updating, or deleting data. Mutations are equivalent to POST, PUT, or DELETE
requests in REST.
5. Input Types: Input types are used for passing complex arguments to mutations. They are
similar to object types but are designed for input data.