transparent

made.annotation.transparent
class transparent extends MetaAnnotation

Marks a case class for Made.Transparent derivation instead of Made.Product.

The case class must have exactly one constructor field. @generated members are not supported on @transparent types and will cause a compile error. The resulting mirror provides wrap/unwrap methods for the single field.

Attributes

See also
Graph
Supertypes
class Annotation
class Object
trait Matchable
class Any
Show all
In this article