0PricingLogin
GraphQL APIs with Spring Boot · Lesson

Creating Data with Mutations

Implement mutations in Spring Boot to add new records to your backend data store.

Intro: Adding New Data

GraphQL isn't just for fetching data. It also allows us to change it! Today, we'll learn how to add brand new records to our system using mutations.

This is a core skill for building any interactive application.

Mutation's Role in Creation

In GraphQL, any operation that modifies data on the server is called a Mutation. This includes:

  • Creating new items (our focus today!)
  • Updating existing items
  • Deleting items

Think of queries for reading data and mutations for writing/changing data.

All lessons in this course

  1. Understanding GraphQL Mutations
  2. Creating Data with Mutations
  3. Updating and Deleting Data
  4. Validating Mutation Input Arguments
← Back to GraphQL APIs with Spring Boot