tapir icon indicating copy to clipboard operation
tapir copied to clipboard

Support dynamic schema adjustments in Picklers

Open kciesielski opened this issue 1 year ago • 0 comments

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.

kciesielski avatar Sep 14 '23 17:09 kciesielski