tapir
tapir copied to clipboard
Support dynamic schema adjustments in Picklers
We need some API like
Pickler.derivedCustomise[Person](
_.age -> List(@EncodedName("x")),
_.name -> List(@EncodedName("y"), @Default("adam")),
_.address.street -> ...
)
to allow arbitrary schema customizations without touching actual case classes and sealed hierarchies.