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

fix: add support for includeMutations listen parameter #872

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Jul 19, 2024

Our /listen endpoint supports passing includeMutations=false for opting out of receiving mutations, which reduces bandwidth in cases where mutations are not relevant. This adds support for passing it as an option when setting up a listener, example:

client.listen('*', {}, {includeMutations: false})

@bjoerge bjoerge requested a review from rexxars July 19, 2024 10:53
Copy link
Contributor

@j33ty j33ty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rexxars rexxars merged commit 5f0a991 into main Jul 19, 2024
16 checks passed
@rexxars rexxars deleted the support-include-mutations branch July 19, 2024 15:49
@ecospark ecospark bot mentioned this pull request Jul 19, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants