Thanks Nadav for such a quick response!
Could you also please expand a bit possible kinds of customizations. Basically I am wondering in two things.
1. Is it possible that for some setting ScalaPB will generate something like following:
case class MyObject(value: Option[Int] = None) extends GeneratedMessage
object MyObject {
def defaultInstance: MyObject = MyObject(value = Some(5))
}
In other words is it possible that implementation of `defaultInstance` will be something different than just calling apply with default arguments (or with no arguments at all)?
2. You mentioned messages with required arguments. So for such messages defaultInstance will still be generated, but it will use null, false, 0 for required fields. Right?