Visit complete GraphQL roadmap

← Back to Topics List

Root Fields

In GraphQL, the root fields are the top-level fields that are available to clients in a query or mutation. They are defined in the schema and are the entry point for client requests. The root fields represent the operations that can be performed on the data, such as querying for data or modifying data.

There are two types of root fields in GraphQL:

  • Query: defines the fields that can be queried to retrieve data from the server.
  • Mutation: defines the fields that can be used to create, update, or delete data on the server.

Learn more from the following links:

Roadmaps Guides Videos About YouTube

roadmap.sh by Kamran Ahmed

Community created roadmaps, articles, resources and journeys to help you choose your path and grow in your career.

© roadmap.sh · FAQs · Terms · Privacy