Skip to content

Default value annotation for a record type #525

Open
@soujiro32167

Description

@soujiro32167

To maintain backward compatibility, I would like to be able to do this:

  case class Foo(
    @AvroFieldDefault(1) a: Int,
    @AvroFieldDefault("foo") b: String,
  )

  object Foo {
    implicit val codec: Codec[Foo] = Codec.derive
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions