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
{{ message }}
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
error] java.lang.ClassCastException: class java.lang.Integer cannot be cast to class scala.Product (java.lang.Integer is in module java.base of loader 'bootstrap'; scala.Product is in unnamed module of loader sbt.internal.ScalaLibraryClassLoader @616527ba)
[error] at magnolia1.ReadOnlyParam$$anon$3.dereference(interface.scala:213)
[error] at com.softwaremill.diffx.generic.DiffMagnoliaDerivation.$anonfun$join$3(DiffMagnoliaDerivation.scala:19)
[error] at scala.collection.immutable.ArraySeq.map(ArraySeq.scala:75)
[error] at scala.collection.immutable.ArraySeq.map(ArraySeq.scala:35)
[error] at com.softwaremill.diffx.generic.DiffMagnoliaDerivation.$anonfun$join$2(DiffMagnoliaDerivation.scala:14)
[error] at com.softwaremill.diffx.DiffxSupport.nullGuard(DiffxSupport.scala:20)
[error] at com.softwaremill.diffx.DiffxSupport.nullGuard$(DiffxSupport.scala:14)
<elided...>
Does diffx support modification of nested case class parameters? If I instead provide Diff.useEquals[Address] instead of the automically derived instance, the example runs successfully.
Given the following simple example:
we are receiving the following stack trace
Does
diffxsupport modification of nested case class parameters? If I instead provideDiff.useEquals[Address]instead of the automically derived instance, the example runs successfully.