Hello, it is possible to return a number from a subscription using graphql-yoga and prisma-bindings ? This is for a system of queue, we want to display the number of people in the line before you (each time someone quit the line this number is updated) ? I didn't found any post on it
n
Niek Kruse
01/09/2019, 9:45 AM
Yeah that should be possible. There should be a
prisma.$subscribe
property that allows you to subscribe to changes on a type
l
ludovic
01/09/2019, 10:44 AM
I saw that on prisma client, but I am still using prisma bindings and there is nothing like that 😕