loading...

re: A Beginner’s Guide to GraphQL VIEW POST

FULL DISCUSSION
 

Thanks for the very comprehensible intro to graphQL!

If I may add, the part about deleting users is a little confusing:

deleteUser: we should pass an ID, name, email, and age. It should return a new user to us.

It shouldn't return a new user, am I right? And is there a particular reason you want to return the user after deleting it?

 

Oh, my bad. It should return the deleted user to us, just to make sure that the mutation worked fine.

code of conduct - report abuse