Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to fire web-hooks on mutation queries #17

Closed
dosco opened this issue Dec 1, 2019 · 4 comments
Closed

Add ability to fire web-hooks on mutation queries #17

dosco opened this issue Dec 1, 2019 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dosco
Copy link
Owner

dosco commented Dec 1, 2019

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.

@dosco dosco added enhancement New feature or request good first issue Good for newcomers labels Dec 1, 2019
@dosco dosco assigned dosco and unassigned dosco Dec 1, 2019
@howesteve
Copy link

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

@dosco
Copy link
Owner Author

dosco commented Dec 7, 2019

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.

@brunoprietog
Copy link

Hi, is there any news about this? Thanks!

@dosco
Copy link
Owner Author

dosco commented Oct 10, 2021

I'm working on adding the ability to call web-hooks in GraphJin. Will keep you updating working on a design that will scale.

@dosco dosco closed this as completed Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants