apollographql / graphql-subscriptions

:newspaper: A small module that implements GraphQL subscriptions for Node.js
MIT License
1.6k stars 133 forks source link

Add Payload generic type for pubsub.publish #268

Open alevkon opened 1 year ago

alevkon commented 1 year ago

Control the payload type when calling publish.publish()

Pull Request Labels

apollo-cla commented 1 year ago

@alevkon: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/