DEV Community

Discussion on: A Beginner’s Guide to GraphQL

Collapse
 
riekus profile image
Riekus van Montfort • Edited

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?

Collapse
 
leonardomso profile image
Leonardo Maldonado

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