Join Glenn Block for an in-depth discussion in this video How to enable mutations, part of API Development in .NET with GraphQL.
- [Instructor] In this chapter, we're going to enable mutations so that GraphQL clients can send updates to our GraphQL server. Now here's how we're going to do it, first, we're going to make some changes to our order model to allow it to be updated. We're then going to update the order service so that it exposes methods to allow the state of the order to be changed. Next, we're going to create some new GraphQL types that we need in order to enable the mutation. And then what we're going to do is update the schema so that mutation will be available to all clients.
Finally, we're going to go and create a mutation and we'll verify that it succeeded.
- Creating a new GraphQL project
- Exposing a new GraphQL API
- Enabling and creating mutations
- Updating and configuring the schema
- Enabling subscriptions
- New GraphQL.NET schema classes
- Creating the OrderEventType
Skill Level Intermediate
Docker for .NET Developers with Visual Studiowith Lee Brandt46m 52s Intermediate
Java Integration with .NET Frameworkwith Reynald Adolphe2h 39m Intermediate
1. Creating a New GraphQL Project
What we're going to build2m 22s
2. Exposing a New GraphQL API
3. Allowing Updates through Mutations
4. Enabling Clients to Subscribe to Notifications
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.