Open Kernald opened 4 years ago
This specific issue prohibits usage of dagger-grpc with grpc-kotlin from what I can tell. I question that the "P3" label is appropriate, which seems to suggest that the problem will not be addressed in the foreseeable future. grpc-kotlin is now released as stable 1.0.0. Can the dagger maintainers please consider supporting it in dagger-grpc?
I'm not exactly sure how this logic works, I'm not familiar with reflection and JavaPoet at all. But trying to use Dagger-gRPC with a server using gRPC-Kotlin, this condition check fails. This is the definition of my service:
The codegen claims that
PaintKindServiceGrpcKt
is not a gRPC service class. I tried adding a dependency on the Java service base and passing this one (PaintKindServiceGrpc
) to@GrpcService
, but unsurprisingly the codegen then complains thatPaintKindServiceGrpc
and myPaintKindService
implementation are unrelated - which I guess is fair enough, as far as I understand the Java and Kotlin implementations have a quite different way of getting instantiated.Are there any plans to make Dagger-gRPC works with gRPC-Kotlin?