47degrees / case-classy

configuration with less hassle
http://47deg.github.io/case-classy/
Apache License 2.0
68 stars 8 forks source link

Add summoners to Read #40

Closed andyscott closed 7 years ago

andyscott commented 7 years ago

The following should be added to the Read companion object:

def apply[A, B](implicit ev: Read[A, B]): Read[A, B] = ev
def apply[A, B](path: String)(implicit ev: Read[A, B]): Decoder[A, B] = ev(path)