Darryl
02/12/2019, 10:15 AMfavourites: (_, { id }, context: Context, info) => {
return context.prisma.query.user(
{
where: {
id
}
},
`
{
id
favourites {
id
name
}
}
`
)
},
I see that now, you’d instead use `context.prisma.user(...) but there’s no way of defining exactly what you want back. Is this intentional?nikolasburk
info
object). You can read more about client vs bindings here: https://www.prisma.io/forum/t/help-understanding-prisma-clients-value-proposition/4394/17?u=nikolas 🙂Darryl
02/12/2019, 10:18 AMnikolasburk
Darryl
02/12/2019, 10:25 AM