Open CYCBrian opened 5 months ago
Use the functionality in the user-controller.js as a guide
Do I need to also add the Book model instead of just importing the User model?
NVM book is a subdoc of User so it doesn't need to be imported
Have no idea if it will work. Need clarification of parent, arguments, and context.
define the query and mutation functionality to work with Mongoose models