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
In the code sample, below it would be great if this lib could produce an RType for the Animal class that exposes the 'children' sub types in a similar way to how SealedTraitInfo works.
sealed abstract class Animal {
val name: String
val animalType: String = "Animal"
}
class Dog(val name: String) extends Animal {
override val animalType: String = "Dog"
}
class Cat(val name: String) extends Animal {
override val animalType: String = "Cat"
}
In the code sample, below it would be great if this lib could produce an RType for the Animal class that exposes the 'children' sub types in a similar way to how
SealedTraitInfo
works.Currently
RType.of(classOf[Animal])
returns:The text was updated successfully, but these errors were encountered: