Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Just ran into a bug involving serializing case classes that contain arrays of other case classes: in that situation, we deserialize the nested array as an Array[Product] instead of Array[SpecificCaseClass]. The fix is pretty easy, we just need to use the actual runtime class (i.e., Class[SpecificCaseClass]) as the basis of the PType, instead of Class[Product].