Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@cmhteixeira cmhteixeira released this 10 Jun 09:30
· 5 commits to master since this release

Improvements

  • Delegation along all the interface hierarchy
trait Wrapper {
  def unwrap[T](iface: String): T
}

trait Connection extends Wrapper {
  def nativeSQL(sql: String): String
}

@Delegate
class MyConnection(delegatee: Connection) extends Connection

MyConnection will contain delegated implementations for method nativeSQL but now also for unwrap.