graphjin
graphjin copied to clipboard
Add ability to fire web-hooks on mutation queries
What would you like to be added:
Add the ability to call a web-hook on successful completion of inserts, updates, deletes or upserts.
Why is this needed:
This will allow app developers to build complex flows like sending an email once a new item is added to the database or trigger some other kind of workflow after a mutation is successful.
I think that is great; hasura allows it and it's very useful. However that that could be implemented as an internal event as well, usable for the embedded server, and with a default webhook trigger implementation.
Howe
Your whole idea around adding internal hooks is interesting, I have thought a bit about Super Graph as a library to embed into an existing Go web app I can see how hooks would help with this.
Feel free to open an issue around adding various hooks and writing a clean api so maybe Super Graph can be instantiated and adding to an app as a http route handler.
Hi, is there any news about this? Thanks!
I'm working on adding the ability to call web-hooks in GraphJin. Will keep you updating working on a design that will scale.