Skip to content

Remove GraphQL subscriptions #5836

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

Merged
merged 16 commits into from
Mar 4, 2025
Merged

Remove GraphQL subscriptions #5836

merged 16 commits into from
Mar 4, 2025

Conversation

lutter
Copy link
Collaborator

@lutter lutter commented Feb 19, 2025

This removes support for GraphQL subscriptions as they are not available on the network, and the code is therefore pretty dead. Besides the actual websocket server, this also removes most of the internal gymnastics that were necessary to feed subscriptions. There's a few more simplifications that would be possible by modernizing the subgraph registrar to make it use async, but that's a bit hairier

Copy link
Contributor

@mangas mangas left a comment

Choose a reason for hiding this comment

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

🔥 🔥 🔥 🔥

@lutter lutter merged commit 6704401 into master Mar 4, 2025
6 checks passed
@lutter lutter deleted the lutter/no-ws branch March 4, 2025 16:13
@dudhatparesh
Copy link

  1. Do we have an alternative to WS now? If yes it should be documented.
  2. Current docker-compose still points to 8001 port for WS
  3. How any blockchain project who need realtime updates from indexed data, going to use subgraphs now?

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