michalkvasnicak / aws-lambda-graphql

Use AWS Lambda + AWS API Gateway v2 for GraphQL subscriptions over WebSocket and AWS API Gateway v1 for HTTP
https://chat-example-app.netlify.com
MIT License
460 stars 91 forks source link

Expose unsubscribe in PubSub #141

Open jonnyasmar opened 3 years ago

jonnyasmar commented 3 years ago

Is there a particular reason the unsubscribe behavior isn't exposed by the PubSub class or is there an alternative recommended approach for handling this?

michalkvasnicak commented 3 years ago

Sorry for late response @jonnyasmar, no there is no reason. Probably I just forgot to expose it. Feel free to open a PR.