Sannikay
04/16/2018, 2:30 PMstatic newLinkSubscribe(parent, args, context, info) {
return context.db.subscription.link(
{ where: { mutation_in: ['CREATED'] } },
info
)
}
I tried using the "where" filter for subscription using the Howtographql tutorial but it's not working instead if I pass in an empty object it works as shown below
static newLinkSubscribe(parent, args, context, info) {
return context.db.subscription.link(
{ },
info
)
}
nilan
04/17/2018, 8:45 AMSannikay
04/17/2018, 9:08 AM