-
Notifications
You must be signed in to change notification settings - Fork 339
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 to gRPC handler #3984
Comments
@ardatan Help? |
If I understand correctly, this is not related to GraphQL actually. Basically you can implement a REST endpoint that forwards data to your gRPC source. |
Closing this issue due to the inactivity. |
@ardatan What you mentioned in the last post, that's what we end up building. But I feel like there must a better way to do this. As graphql can handle any http request then forwarding it to grpc though pub/sub should be possible right? |
GraphQL is not responsible of handling "any" HTTP request, and GraphQL Mesh doesn't forward requests. |
I am little confused. Here https://www.the-guild.dev/blog/graphql-mesh-subscriptions. Can't forward the response from webhook to grpc or to RabbitMQ? We are trying to handle Strip webhooks and only exposed endpoint we have is GraphQL Mesh. |
That documentation explains how to consume Webhooks as GraphQL subscriptions. So basically, you listen webhook calls and allow user to get it using GraphQL Subscription requests. |
Quick question @ardatan : Our use case is this: we have stripe account, we want to consume stripe events with our webhook. First is this possible to do with graphql mesh and then publish that message to rabbitmq. |
Question: I see that GraphQL can handle REST webhooks and there are some examples around pub/sub method of handling request. Is there way to forward webhook request to gRPC handler? I did not see any documentation regarding that.
The text was updated successfully, but these errors were encountered: