Open joelhandwell opened 5 years ago
This is an interesting idea. I have not tried either of those before so I can't say straight away if it would work or not. But I will spend some time experimenting with those combinations to see what works and what doesn't work. I'll push a branch when I got something to show.
Any help with researching this is highly appreciated!
We're early in our adoption of gRPC, but are planning on using gRPC-web at some point in the future. If we can do more of that in Kotlin rather than JS, I'd certainly call it a win.
Can anyone get me going with this? I'm pretty new, but when I know how I have to setup the tooling/project, I'd like to add my efforts to this project
This project: https://github.com/cretz/pb-and-k generates the JS code.. and native..
I take that back... no native in pb-and-k... there is also kroto plus https://github.com/marcoferrer/kroto-plus which says that "In Progress Multiplatform Protobuf Messages w/ Kotlinx Serialization"
We are looking at using Kotlin MPP to share our business layer code base between our platforms. Since we use gRPC on all our platforms already this would be really nice to have. Any news on this?
I have implemented such a project on my own. It currently supports JVM/Android and JS and allows you to make grpc calls from your common code. iOS is currently not supported, but it will be in the future.
GRPC-web became GA. Coroutine is implemented in Kotlin/JS and Kotlin/Native Is there possibility to extract kotlin common code and implement for JVM/JS/Native to enable multi platform GRPC?