Removing the package-type object named <Service>GrpcKt as it only served as a namespace object, which is discouraged. The generated code now produces a top level abstract class named <Service>ImplBase which encapsulates the internal MethodHandler and other functions as inner private classes/functions.
Any code that referenced the outer object can now just directly reference the *ImplBase class.
- class GreeterImpl : GreeterGrpcKt.GreeterImplBase() {
+ class GreeterImpl : GreeterImplBase() {
Removing the package-type object named
<Service>GrpcKt
as it only served as a namespace object, which is discouraged. The generated code now produces a top level abstract class named<Service>ImplBase
which encapsulates the internalMethodHandler
and other functions as inner private classes/functions.Any code that referenced the outer object can now just directly reference the
*ImplBase
class.