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

Webhook on model change ? #69

Closed
Dorkside opened this issue Feb 7, 2019 · 5 comments
Closed

Webhook on model change ? #69

Dorkside opened this issue Feb 7, 2019 · 5 comments

Comments

@Dorkside
Copy link

Dorkside commented Feb 7, 2019

Hey,
I'm testing out your framework for our app, and trying to see if it could fit our needs. I managed to connect a webhook on new documents, but it seems there is no webhook on Schema change. You think this could be possible ? My usecase would be to notify another graphql server that the schema has been updated so it can fetch the schema again and rebuild.
I'm trying to understand all of the code repo and could get this together after a while and submit a PR, just wondering if you could get this going quicker than I.
Best,
James

@birkir
Copy link
Owner

birkir commented Feb 7, 2019

Sounds great, I can add it!

I will be implementing shared PubSub system that can notify on pretty much anything, so you could hook into that directly too, but the Webhooks system will be benefiting from it also.

Here is a overview of how I am going to implement it: https://graphql-modules.com/docs/guides/communication-between-modules

@Dorkside
Copy link
Author

Dorkside commented Feb 8, 2019

Awesome, I'll keep in touch. Hope to be of some help soon!

@birkir
Copy link
Owner

birkir commented Feb 12, 2019

This should help!

#82

@birkir birkir closed this as completed Feb 12, 2019
@birkir
Copy link
Owner

birkir commented Feb 12, 2019

Releasing soon

@Dorkside
Copy link
Author

Awesome, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants