AvroErasedName
com.sksamuel.avro4s.AvroErasedName
case class AvroErasedName() extends AvroFieldReflection
This annotation is used to disable generics in the encoding of a record's name.
Normally, the record name for a generic type is the name of the raw type, plus the actual type parameters. For example, a class Foo with type parameters Int and Boolean, would have a generated name of Foo__Int_Boolean
When this annotation is present on a type, the name used in the schema will simply be the raw type, eg Foo
.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AvroFieldReflectiontrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article