You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using this dependency along with gRPC java to generate our gRPC interface. We've implemented it in a similar fashion as the example provided in this repo. However, when upgrading to grpc-java we seem to hit some issues. Compiled code for streaming calls seems to have stopped working.
The following generated (Generated from grpc-java as I understand it) to in our grpc java file is broken due to it seemingly referencing grpc-io.stub1.57.2. BlockingClientCall can not be resolved.
/**
* <pre>
* Control the daemon and receive events
* </pre>
*/
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918")
public io.grpc.stub.BlockingClientCall<?, mullvad_daemon.management_interface.ManagementInterface.DaemonEvent>
eventsListen(com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.blockingV2ServerStreamingCall(
getChannel(), getEventsListenMethod(), getCallOptions(), request);
}
It seems like grpc-kotlin-stub caused it to pull stub version 1.57.2. Looking from the source code only grpc-kotlin has a direct dependency on 1.57.2, see here, which doesn't play well with grpc-java since it then lacks the new streaming stub calls.
Is it possible to create a new release with some updated dependencies?
The text was updated successfully, but these errors were encountered:
You should be able to fix this by adding an explicit dependency on io.grpc:grpc-stub:1.70.0. That's actually normal, since generated code can require new versions of grpc-java and you are choosing the version of protoc-gen-grpc-java to use, so you are actually the one using grpc-stub:1.70.0. (Yes, I know tooling makes that less clear.) At times you can cheat by using grpc-kotlin's dependency on grpc-stub (if it compiles, it is probably fine), but technically that is just a trick and at times you may require the explicit dependency (like now).
Hello!
We are using this dependency along with gRPC java to generate our gRPC interface. We've implemented it in a similar fashion as the example provided in this repo. However, when upgrading to
grpc-java
we seem to hit some issues. Compiled code for streaming calls seems to have stopped working.The following generated (Generated from grpc-java as I understand it) to in our grpc java file is broken due to it seemingly referencing
grpc-io.stub
1.57.2
.BlockingClientCall
can not be resolved.Looking at my dependency structure:
It seems like
grpc-kotlin-stub
caused it to pull stub version1.57.2
. Looking from the source code onlygrpc-kotlin
has a direct dependency on1.57.2
, see here, which doesn't play well with grpc-java since it then lacks the new streaming stub calls.Is it possible to create a new release with some updated dependencies?
The text was updated successfully, but these errors were encountered: