-
Notifications
You must be signed in to change notification settings - Fork 326
Subscription #366
Comments
It's work when I downgrade version 6.0.1 to 5.11.1 and include
|
You should only add the spring-boot-starter to the project, it'll pull in the correct version of graphql-java-tools and graphql-java-servlet. When you defined them all yourself you're going to run into compatibility issues like the ones you encountered here. We just released version 7.0.0 of this starter which pulls in these dependencies, so it should be fixed using that. If not then feel free to reopen the issue. |
i'm running into the same issue with the 7.0.0 starter. how can i fix this? |
same issue with 7.0.1 |
After further investigation in the end this appears to depend on which subscription protocol is used. When you use Apollo (like GraphiQL and Altair do) it works fine and that's why I wasn't able to reproduce it. If you don't use Apollo but it needs to use the fallback protocol it will cause an issue. Please see graphql-java-kickstart/graphql-java-servlet#252 to track this issue further, since the solution will be in that project instead. |
Hello,
I'm trying to use Subscription feature. I use a jquery client, I manage to call the server but I get the following error:
The request is formated like this:
I suppose that I forgot to provide a setting like an ObjectMapper.
When I use the dependency bellow, it's work well and I manage to get the stream
My project is host on https://github.com/BaptisteMeynier/Graphql-Subscription/blob/master/src/main/java/com/meynier/spring/graphql/graphql/FishSubscriptionResolver.java
Thx a lot
Regards
The text was updated successfully, but these errors were encountered: