【发布时间】:2022-01-21 06:13:05
【问题描述】:
有没有办法用关于字段注释的信息标记生成的无形LabelledGeneric?
例如
case class Example(@someAnnotation foo: Foo, bar: Bar)
我们可以得到类似的东西
FieldType["foo" with Annotations(someAnnotation :: HNil), Foo] :: FieldType["bar", Bar] :: HNil
?
【问题讨论】: