A list of things I changed in a Scala 2->3 upgrade
implicit parameter -> using variables explicitly passed-in parameters will be passed like this: foo(using someVariable) implicit variables -> given variables implicit class -> extension Pureconfig com.github.pureconfig:pureconfig_2.13 -> com.github.pureconfig:pureconfig-generic-scala3_3 implicit def hint[T] = … -> given [T]: ProductHint[T] = … Add given ConfigReader[MyConf] = deriveReader Mockito remove org.mockito:mockito-scala because it doesn’t support scala3 mock[SomeClass] -> mock(classOf[SomeClass]) …
A list of things I changed in a Scala 2->3 upgrade Read More »