Send a checkOut Mutation with GraphQL as an Authorized User

Share this video with your friends

Send Tweet

Once logged in, the user will be able to check out pets with a checkOut mutation. In this lesson, we’ll look at how to send a mutation based on current data.

To follow along with these queries, go to the Pet Library GraphQL Playground.

David
David
~ 4 years ago

This only shows that a user who is authenticated into the system is authorized to use all resources. I was disappointed as I thought this video would demonstrate authorization but it doesn't.

Eve Porcello
Eve Porcello(instructor)
~ 4 years ago

Hi David, thanks for the feedback. Were you hoping to see authorization by field? What is missing that you'd find useful?

Domenic Fiore
Domenic Fiore
~ 2 years ago

Hi Eve,

All of the pets are checked out, meaning I can't really run this example in the playground. I understand the concept so it's OK but would be nice to be able to try it :)

Eve Porcello
Eve Porcello(instructor)
~ 2 years ago

Hey Domenic! These pets are very popular, I guess! I just did some cleanup on the DB, so you should be good to check out a pet now. You might need to create a new account to do so :) Thanks!