scalapb / zio-grpc

ScalaPB meets ZIO: write purely functional gRPC services and clients using ZIO
Apache License 2.0
257 stars 81 forks source link

Unable to get public no-arg constructor bump to 0.6.1 #592

Open lxwbr opened 6 months ago

lxwbr commented 6 months ago

After bumping from 0.6.0 to 0.6.1 we have a runtime error when executing following line:

ScopedServer.fromService(ServerBuilder.forPort(port), api)

the error is:

io.grpc.netty.NettyServerProvider Unable to get public no-arg constructor

Ant tips how to migrate to new version while fixing above?

thesamet commented 6 months ago

Hi @lxwbr , that's unexpected breakage between 0.6.0 and 0.6.1 as the dependencies of zio-grpc (on grpc-java, grpc-netty) have not been bumped. I suggest starting with a minimal reproducible example.