Closed danielghandahari closed 2 years ago
Hi! 👋
We've had a similar issue in the past with SpringBoot where a different version of the coroutines library was found in the classpath, although we didn't really get to the bottom of the exact reason why.
Apollo Kotlin 3.4 depends on coroutines version 1.6.1. so I suppose that using 1.5.2 can be the cause of this issue (and we can see that the method in question has a different signature in 1.5.2 vs 1.6.1).
You could try to depend on a more recent version of SpringBoot (e.g. 2.7.2) which depends on a more recent version of coroutines / or try to pin coroutines on 1.6.1.
Updating Spring Boot version solved it, thank you!
Summary
I'm migrating from Apollo Kotlin v2 to the latest v3 in my Java Spring Boot project. I'm getting a runtime error when executing my query with Rx3Apollo. The Rx3Apollo.single(queryCall) doesn't work for me.
Version
Logs
Steps to reproduce the behavior
I'm using a wrapper class to execute my query:
GraphqlWrapper.java:32
.