The @Kind annotation is useful to specify a different Kind name than case class name. It would also be useful to rewrite field names by annotating the case class property name, e.g.,
@Kind(value = "LegacyFooKind")
case class Foo(@Field("value = "LegacyBarProperty") bar: String)
The
@Kind
annotation is useful to specify a different Kind name than case class name. It would also be useful to rewrite field names by annotating the case class property name, e.g.,