apollographql / graphql-subscriptions

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

Add Payload generic type for pubsub.publish #268

Open alevkon opened 9 months ago

alevkon commented 9 months ago

Control the payload type when calling publish.publish()

Pull Request Labels

apollo-cla commented 9 months 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/