Skip to content

Fix graphql-subscriptions v3 compatibility in WebSocket replication#7832

Closed
pubkey with Copilot wants to merge 7 commits into
renovate/major-apollo-graphql-packagesfrom
copilot/sub-pr-7701
Closed

Fix graphql-subscriptions v3 compatibility in WebSocket replication#7832
pubkey with Copilot wants to merge 7 commits into
renovate/major-apollo-graphql-packagesfrom
copilot/sub-pr-7701

Conversation

Copilot AI commented Feb 12, 2026

Copy link
Copy Markdown
Contributor
  • Identify the issue with graphql-subscriptions v3 upgrade
  • Update graphql-server.ts to use asyncIterableIterator instead of asyncIterator
  • Add null safety checks in GraphQL WebSocket subscription handler
  • Handle different response structures in graphql-ws subscription messages
  • Address code review feedback and simplify null checking logic
  • Fix CI: Update Capacitor build to sync only Android on Linux
  • Update GraphQL replication documentation with v3 breaking change warning
  • Update GraphQL example server to use asyncIterableIterator
  • Run and pass all tests
  • Pass TypeScript type checking
  • Pass linting

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 12, 2026 14:36
Co-authored-by: pubkey <8926560+pubkey@users.noreply.github.com>
…andler

Co-authored-by: pubkey <8926560+pubkey@users.noreply.github.com>
Co-authored-by: pubkey <8926560+pubkey@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Apollo GraphQL packages to major version Fix graphql-subscriptions v3 compatibility in WebSocket replication Feb 12, 2026
Copilot AI requested a review from pubkey February 12, 2026 14:44
@pubkey

pubkey commented Feb 13, 2026

Copy link
Copy Markdown
Owner

@copilot Fix the ci
Also ensure to update the docs accordingly

Co-authored-by: pubkey <8926560+pubkey@users.noreply.github.com>

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Fix the ci
Also ensure to update the docs accordingly

Fixed the CI and updated documentation:

CI Fix: Changed Angular Capacitor build to sync only Android instead of both platforms. The iOS sync was failing because CocoaPods is not available on Linux CI runners.

Documentation Updates:

  1. Added warning in GraphQL replication docs about asyncIterator()asyncIterableIterator() breaking change
  2. Updated GraphQL example server to use new API
  3. Included code examples showing the migration path

All tests passing. Commit: c0c900f

Co-authored-by: pubkey <8926560+pubkey@users.noreply.github.com>
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.

2 participants