Skip to content

Commit

Permalink
Fix 2.12 serialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones committed Jun 6, 2024
1 parent 42e7aef commit 8a84b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/test/scala/magnolify/test/ADT.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ object ADT {
case class Circle(r: Int) extends Shape

@ScalaAnnotation("Color")
sealed trait Color
sealed trait Color extends Serializable // Serializable needed for 2.12
@ScalaAnnotation("PrimaryColor")
sealed trait PrimaryColor extends Color
case object Red extends PrimaryColor
Expand Down

0 comments on commit 8a84b29

Please sign in to comment.