Skip to content

docs: activate DataSync projection subscription snippet - #135

Merged
techwritermat merged 2 commits into
masterfrom
docs/datasync-snippet-fixes
Nov 2, 2026
Merged

techwritermat merged 2 commits into
masterfrom
docs/datasync-snippet-fixes

Conversation

@techwritermat

Copy link
Copy Markdown
Contributor

The subscribe_to_projection_channels snippet only created two Subscription objects. It never attached a listener or called Subscribe<object>(), so a reader copying it receives no events. It is embedded in the PubNub docs "Subscribe to DataSync events" how-to (projection channel section).

This change attaches a listener to both subscriptions and activates them. The snippet markers are unchanged.

Not compiled locally (no .NET SDK on the authoring machine).

🤖 Generated with Claude Code

@jakub-grzesiowski jakub-grzesiowski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Xavrax Xavrax left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

bump @jakub-grzesiowski review

@techwritermat
techwritermat merged commit 23fe8ea into master Nov 2, 2026
5 checks passed
@techwritermat
techwritermat deleted the docs/datasync-snippet-fixes branch November 2, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants