Joe Fazzino
02/12/2018, 4:57 PMmax
02/12/2018, 6:04 PMmax
02/12/2018, 6:04 PMJoe Fazzino
02/12/2018, 6:36 PMJoe Fazzino
02/12/2018, 6:36 PMmax
02/12/2018, 6:38 PMcreatePost(parent, { title, description, createdBy }, ctx, info) {
return ctx.db.mutation.createPost(
{
data: {
title,
description,
createdBy: {
connect: { shortID: createdBy }
}
}
},
info
)
},
max
02/12/2018, 6:38 PMJoe Fazzino
02/12/2018, 6:40 PM