Open ktoso opened 8 years ago
I find it rare that the same naming convention is used in case objects and json. For example MyId vs my_id etc, would be nice to be able to pass in some custom formatter that says how each name should be formatted. So in an example such as:
sealed trait Color
case object ColorAfter
case object ColorNow
case object ColorBefore
// Turn each option into snake case
implicit val formatter = sumType(Color)(snake_case)
What's the decision here? Are there plans to add this?
+1
Moved here from Akka.
https://github.com/akka/akka/issues/18811
@agemooij proposes something of the likes:
there too