macro annotation to mark a trait as a polymorphic persistent component.
creates a companion object for the trait that extends
PolyCType. if the trait already has a
companion object, then adds a parent class PolyCType to the existing
companion object. Note that this will not work if your companion object
already extends an abstract or concrete class, as PolyCType itself is an
abstract class.
macro annotation to mark a trait as a polymorphic persistent component. creates a companion object for the trait that extends PolyCType. if the trait already has a companion object, then adds a parent class
PolyCType
to the existing companion object. Note that this will not work if your companion object already extends an abstract or concrete class, asPolyCType
itself is an abstract class.