<@U0RQY0KK5> Any docs or examples showing how to l...
# prisma-whats-new
e
@nilan Any docs or examples showing how to listen for updated data via subscriptions in prisma? I need to listen for CREATE and UPDATE on a field and keep a local copy of the data in prisma. In this case I'm using it for routing and do not want to slow down the page rendering by adding another query
n
did you try https://github.com/graphcool/prisma/tree/master/examples/subscription? 🙂 By the way, I am not responsive to highlights in Slack. If your questions don't yield reactions here, I encourage you to start a discussion in the Forum (https://www.graph.cool/forum/). This usually leads to better and more focused conversations. Thanks! 🙌
e
Ok, sorry will post future questions on the forum! I did review that example but it only allows me to subscribe to subscriptions from say Apollo. I would like to hook in at the publications.subscription function where the prisma-bindings call is so that I can react to a change pushed from the DB. I understand prisma-bindings returns an asyncIterator but it's not working as expected