Details
-
New Feature
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
Goal: Be able to deserialize documents where
- field is missing
- field type is a child of `Iterable`
to ease changes in models without having to run scripts or write custom codecs.
Now, this won't work,
but we could expect that `metadata` and `aliases` are considered as empty, or at least having a setting in the client to enable it.
{
|
"name": "John Doe"
|
}
|
|
|
case class Person(name: String, aliases: Set[String], metadata: Map[String, String]) |
|
Attachments
Issue Links
- duplicates
-
JAVA-3551 Support default args in the CaseClassCodec
-
- Backlog
-