KJReactor
09/27/2019, 7:27 PM...
const fields = {username, ...args};
fields.books = {connect: {username: username}}
return ctx.prisma.createBooks(books)
Books should returns a list correctly but the above (mutation) returns an error that property username does not exist