3 ms·
You should treat them just as containers for data to be serialized. If you require fields to be set on an object, you’re going to want to create a set of classe
by zackangelo 9y ago
You should treat them just as containers for data to be serialized. If you require fields to be set on an object, you’re going to want to create a set of classes that enforce those constraints.
If you’re thinking about switching to Scala, the gRPC support in the scalapb library is mature and easy to use.
You can check out the slides from my gRPC+Scala talk here:
https://github.com/zackangelo/grpc-intro-scala https://github.com/zackangelo/grpc-intro-scala