Skip to content

Add support for serialization intoadditionalInfo: AdditionalInfo from Map, case class, other collections...Β #90

@benedeki

Description

@benedeki

Background

Right now the AdditionalInfo type in error handling is just a synonym for String, while the intention is it to be a JSON.
Right now though any garbage can be put into the field.

Feature

Turn the type into a value class with a private constructor and an apply method that will serialize provided objects into json.
Of course keep a constructor to allow an empty AdditionalInfo.
Also create an implicit conversion from the value class to String for easy push into Spark,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    πŸ“‹ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions