2 ms·
How can I add hooks to respond to data changes?
by verdverm 6y ago
How can I add hooks to respond to data changes?
- mrjn 6y agoDgraph supports Subscriptions [1] [1]: https://dgraph.io/docs/graphql/subscriptions/ https://dgraph.io/docs/graphql/subscriptions/
- gja 6y agoHi, Thanks for asking. We actually have a few ways to achieve this: 1) as mentioned, slash supports graphql subscriptions 2) you could write a custom mutation with our new @lambda directive. Do your changes then call out to your webhook 3) we have been discussing hooks after a mutation internally, but I don’t have a timeline for this yet.