You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue appears to relate to the anonymous class generated for the wrapper val.
val wrapper = new {
val map = Map.apply[String, MapValueBase]("Double" -> MapValueDouble(1.0), "String" -> MapValueString("word"))
}
If I declare a case class that wraps the map, the test passes.
The issue appears to be that when the anonymous class is used then the Java annotations on MapValueBase are not picked up by the jackson code (that uses Java reflection to work out the type information).
Passes with Scala 2.
The text was updated successfully, but these errors were encountered: