All the documentation and stack overflow says that ‘Whitebox’ macros are impossible in Scala 3. In fact, by making a transparent macro that returns a structural type you can create types with any vals and defs that you wish. Here’s an example: case class User(firstName: String, age: Int) // has…