I generate some test data as follows:
trait Template { val field1: Map[List[String], Map[Int, List[Boolean]]]
This fails with the message value field1 has incompatible type , but for field2 ?
I can fix this by explicitly specifying the types in Fixture , but I try to avoid this because if I change the type inside the attribute, I will need to propagate it to every fixture object.
Can my object Fixture field1 types for field1 and field2 from trait Template .
scala
Tim
source share