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.
- Companion:
- object
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any