It would be nice to have a function where you give it a Codec and you get TOML example for this function.
I guess a simple (but will require to change a lot of code) solution would be to add an extra field codecExample of type a to the Codec type. Alternative solution: implement some typeclass like TomlSchema.
It would be nice to have a function where you give it a
Codec
and you get TOML example for this function.I guess a simple (but will require to change a lot of code) solution would be to add an extra field
codecExample
of typea
to theCodec
type. Alternative solution: implement some typeclass likeTomlSchema
.