Implementation-independent type of the query field in the subscribe message
See original GitHub issueHello, we have been looking for an alternative protocol to subscriptions-transport-ws and found this repository which looks very promising and far more mature.
The only problem is the query type in the subscribe message that seems to be javascript specific as the DocumentNode is part of internal classes of graphql-js, and our server is written in Java. Do you plan to make the protocol more open for other languages that use only the string query representation of GQL query in GQL library public API?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
GraphQL Subscriptions in Apollo Client
Our GraphQL subscriptions implementation leverages existing publish-subscribe systems, like the design Facebook uses for their production ...
Read more >Subscriptions and Live Queries - Real Time with GraphQL
This approach would allow us to query everything on the query object type via the live field on the subscription object type, without...
Read more >Subscriptions in GraphQL and Relay
A query language for your API — GraphQL provides a complete description of the data in your API, gives clients the power to...
Read more >Redux Essentials, Part 8: RTK Query Advanced Patterns
RTK Query allows multiple components to subscribe to the same data, ... Our getPosts query defines a providesTags field that is an array...
Read more >Receiving messages in a JMS application - IBM
An application uses a message consumer to receive messages. A durable topic subscriber is a message consumer that receives all messages sent to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have made #45, but I am still not completely on board… There are some pros and cons in the description there.
Would be cool if you could make this argument at the GraphQL over WebSocket PR. Hearing more opinions would be a smart move when faced with making a decision like this.
🎉 This issue has been resolved in version 1.10.0 🎉
The release is available on:
Your semantic-release bot 📦🚀