milessabin / shapeless

Generic programming for Scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for type annotations

pgrandjean opened this issue · comments

According to the scala documentation, annotations may apply to classes, variables, types and expressions. Currently, Annotations allows to extract variable annotations from case classes, such as:

case class Foo(
  @Bar field1: String
)

The aim of this request is to add support for type annotations, such as:

case class Foo(
  field1: String @Bar
)