0Pricing
GraphQL APIs with Spring Boot · Lesson

GraphQL Mutations: Changing Data

Move beyond reading data: learn to define and implement GraphQL mutations to create, update, and delete data in Spring Boot.

From Reading to Writing

You can now define types, resolvers, and run queries. But real APIs must also change data.

In GraphQL, every write goes through a mutation — the counterpart to a query.

Query vs Mutation

The shapes look similar, but intent differs:

  • Query: read data, no side effects, may run in parallel.
  • Mutation: change data, executed sequentially top to bottom.

All lessons in this course

  1. Defining Custom Data Types
  2. Implementing Data Resolvers
  3. Executing Simple GraphQL Queries
  4. GraphQL Mutations: Changing Data
← Back to GraphQL APIs with Spring Boot