In this video, Emmanuel Henri goes through doing a user update with GraphiQL. He uses one of the recent users added in a previous video, and—with its ID—updates the user.
- [Narrator] The final piece we need to test…is to update a user already in our database.…So let's go ahead and test our updates.…So the first thing I want you to do…before you do anything here is copy the ID…of the getFriend or the friend you created earlier.…And if you remember, if you go into the documentations…updateFriend takes an ID and then takes an input.…So it takes the data that you want to change…on the user itself and please keep in mind…that you need the full input.…
So you need to add all the items in here.…So let's go ahead and do that.…Let's remove that and let's do a mutation…and then updateFriend, which takes an ID that we just copied…and then the input, which we'll just add.…So I want to change the first name to Manuello.…
Then I want to change the last name,…and by the way I'm doing this without adding commas…on purpose so you can see that you can do that as well.…In the last video I did with commas,…I'm doing without and both works.…And let's keep it Henri…and you need to do the gender, let's do male.…
- Setting up GraphQL
- Running queries
- Updating schema and solvers
- Adding data
- Adding Relay entry components
- Coding GraphQL fragments
Skill Level Intermediate
Node.js: Build Your First Microservicewith Daniel Khan2h 9m Intermediate
1. Introduction and Setup
2. GraphQL Development
3. Relay Setup
4. React Integration
Next steps1m 12s
- 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.