vulcan.generic.AvroNullDefault
See theAvroNullDefault companion object
final class AvroNullDefault(val enabled: Boolean) extends StaticAnnotation
Annotation which can be used to enable/disable explicit default null values for nullable fields in derived schemas.
The annotation can be used in the following situations.
- Annotate a
case class
to enable/disable explicit default null values in the schema for all nullable fields when usingCodec.derive
from the generic module. - Annotate a
case class
parameter to enable/disable explicit default null value in the schema for this specific nullable field when usingCodec.derive
from the generic module.
Parameter
annotation takes precedence over case class
one when both are used.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article