question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implementation-independent type of the query field in the subscribe message

See original GitHub issue

Hello, 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:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
enisdenjocommented, Nov 1, 2020

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.

1reaction
enisdenjocommented, Nov 3, 2020

🎉 This issue has been resolved in version 1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found