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.

Support subscriptions

See original GitHub issue

GraphQL Java can support subscriptions: https://www.graphql-java.com/documentation/v11/subscriptions/

We just need to come up with a good way to represent the different type in the schema.

This may be able to be done without a breaking change. Can we just add a @GraphQLSubscription?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
smyrickcommented, Mar 21, 2019

@shahabio I had started working on the update but had trouble getting the example app working with spring websockets. If you want to pick up from my branch you can pull from here: https://github.com/smyrick/graphql-kotlin/tree/subscribtions

0reactions
hinterdupfingercommented, Aug 26, 2019

putting

override fun getSubProtocols(): List<String> {
    return listOf("graphql-ws")
}

in SubscriptionHandler(private val graphQL: GraphQL) : WebSocketHandler

should fix the the protocol issue as org.springframework.web.reactive.socket.server.support.HandshakeWebSocketService is checking for supported protocols in the handler

Read more comments on GitHub >

github_iconTop Results From Across the Web

Subscriptions and Billing - Official Apple Support
Find the answers you need about buying and paying for apps, music, movies, books and more.
Read more >
Cancel, pause, or change a subscription on Google Play
Make sure to sign in to the Google Account that has your subscriptions. Cancel a subscription. You can use our self-help flow to...
Read more >
Manage a Microsoft subscription
Select a link below for the help you need to manage your Microsoft subscription. ... subscriptions, see Business subscriptions and billing documentation.
Read more >
Subscriptions & Services - PlayStation
Find everything you need for help with Subscriptions & Services on PlayStation™Network. ... PlayStation Support subscriptions logo ...
Read more >
Subscriptions & billing - Xbox Support
Get more information about managing your Xbox subscriptions, issues with billing, and more.
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