serum
01/02/2019, 11:39 PMfindBlasWithFooTextContaining: (_, { search }, ctx) => {
return ctx.prisma
.foos({
where: {
text_contains: search
}
})
.bla()
.then((foos) => {
return R.map(R.prop('bla'), foos);
});
}
so the trick basically was to just shave off the unneeded Foo
😉