CCBCodeMonkey
04/20/2019, 3:48 PMezeikel
04/20/2019, 11:34 PMezeikel
04/20/2019, 11:35 PMurl subfield for profilePicture already in the query I posted.
So strange. To me it all looks legit 🤷🏿♂️ezeikel
04/20/2019, 11:45 PMprofilePicture under User
User: {
posts: parent => prisma.user({ id: parent.id }).posts(),
following: parent => prisma.user({ id: parent.id }).following(),
followers: parent => prisma.user({ id: parent.id }).followers(),
likes: parent => prisma.user({ id: parent.id }).likes(),
comments: parent => prisma.user({ id: parent.id }).comments(),
profilePicture: parent => prisma.user({ id: parent.id }).profilePicture()
},ezeikel
04/20/2019, 11:47 PMposts comments etc but didn’t think I would have to do this for field with no relation whatsoever