Do you wish there was a different approach to Scala PB that doesn't require you to provide message definitions?
Check out this talk from Engineering Manager, Nadav Samet at Scala Days Berlin and you'll go beyond code generation for protocol buffers with unshaped protos!
Unshaped Protos: Beyond Code Generation for Protocol Buffers
Protocol Buffers is a data serialization format and a message definition language. Traditionally, Protocol Buffers libraries take message definitions and generate source code for encoders and decoders for these messages.
In this talk, we will explore a different approach that is coming to ScalaPB that not only avoids code generation but also does not require the user to provide message definitions. Instead, the schema is automatically inferred from the user's domain model using shapeless and type-classes for encoders and decoders are derived by the compiler.
In this talk, we will explore a different approach that is coming to ScalaPB that not only avoids code generation but also does not require the user to provide message definitions. Instead, the schema is automatically inferred from the user's domain model using shapeless and type-classes for encoders and decoders are derived by the compiler.
This talk was given by Nadav Samet at Scala Days Berlin 2018.