-
Notifications
You must be signed in to change notification settings - Fork 326
Spring subscription example #60
Comments
Isn't GraphQLSubscriptionResolver a concept from graphql-java-tools? There is an example request there as well: graphql-java-kickstart/graphql-java-tools#88. It would be nice to see a reference implementation for it using spring specific websocket support though. Working through that now myself. |
@bulka777, yes trying to work through it myself. I am finding it hard to connect the Publish return value from a class that implements GraphQLSubscriptionResolver, to a given websocket, hope you have more luck. |
@bulka777 did you have any luck? |
Didn't really find time to play with it yet. Will post back if I do. |
Any news on how tu use subscription ! |
Greetings and sorry for reviving this topic. Are there any news on this issue or progress on a successful implementation of a subscription in spring? |
PR #95 contains support for subscriptions and a reference implementation in |
I have found the following example https://github.com/graphql-java/graphql-java-subscription-example which use graphql-java for subscriptions over a websocket.
I have been trying to do the same idea within the spring version but have not been able to understand how it fits together. Do we have a spring version of the example above, or something similar?
I have been struggling to understand how the Publisher from GraphQLSubscriptionResolver fits together with websockets.
The text was updated successfully, but these errors were encountered: