rouzwawi / grpc-kotlin

gRPC with Kotlin Coroutines
https://gitter.im/gRPC-Kotlin/Lobby
Apache License 2.0
220 stars 23 forks source link

Generate adapters.kt with adapter classes separately #23

Closed rouzwawi closed 6 years ago

rouzwawi commented 6 years ago

Some of the classes in the generated code are not specific to each service and can be generated only once in a library-like location. This PR will move all the StreamObserver adapters into a generated package called io.rouz.grpc and a file named adapters.kt.