GraphQL mutation
A GraphQL mutation is an operation that requests a change to server-side data or state and may return selected fields resulting from that change.
Quarkus in Action
A GraphQL mutation is a GraphQL operation that can add or modify data and may return data with the update.
- How it is used
- Uses mutations to add or modify data while returning selected fields from the resulting object.
- How deep it goes
- Defines operation semantics and demonstrates input, field selection, response echoing, and database verification without covering advanced GraphQL features.
- Examples
- Demonstrates a register mutation that creates a fleet car, echoes selected fields, and verifies persistence with a cars query.
- What you can do after
- Apply it via GraphiQL by supplying mutation arguments, selecting response fields, executing the operation, and checking the resulting data.
Building Web APIs with ASP.NET Core
A GraphQL mutation is an operation that requests a state-changing action from a GraphQL server and can return selected resulting fields.
- How it is used
- Uses a state-changing operation to update a board game's name through a GraphQL API.
- How deep it goes
- Walks through token setup, mutation execution, and database verification, but does not detail server-side mutation implementation.
- Examples
- Demonstrates renaming Die Macher and assigning a revised name to Axis & Allies.
- What you can do after
- Operate/configure BananaCakePop to authorize and execute a mutation, then verify the saved change with a query.
Read how Building Web APIs with ASP.NET Core explains GraphQL mutation →
Related concepts
- BananaCakePopused by · Banana Cake Pop is a web-based GraphQL client and IDE for composing, executing, and inspecting GraphQL operations.
- GraphQL operationkind of · A GraphQL operation is an executable request that specifies a query, mutation, or other interaction with a GraphQL schema.
- request messageuses · An HTTP request is a message sent by a client to a server that specifies a method and target and may include headers and a body.
- SQLcontrasts with · SQL is a standardized declarative language for defining, querying, and manipulating data and structures in relational database systems.
- database management toolproduces · A database management system is software that defines, stores, retrieves, modifies, and administers database data and controls access to it.
- bearer authenticationconfigured by · Bearer authentication is an authentication scheme in which presenting a bearer token is sufficient to use the access or authorization granted by that token.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

