aboutsummaryrefslogtreecommitdiff
path: root/core-rest/src/test/scala/xyz/driver/core/TestTypes.scala
blob: bb25debe6bc35f20de7282e97f78438859bbebab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package xyz.driver.core

object TestTypes {

  sealed trait CustomGADT {
    val field: String
  }

  object CustomGADT {
    final case class GadtCase1(field: String) extends CustomGADT
    final case class GadtCase2(field: String) extends CustomGADT
    final case class GadtCase3(field: String) extends CustomGADT
  }
}