ProtixIT / dataclass-binder

Python library to bind TOML data to dataclasses in a type-safe way
MIT License
13 stars 2 forks source link

Improve formatting of untyped tables #39

Open mthuurne opened 1 year ago

mthuurne commented 1 year ago

Nested tables within untyped tables are currently formatted inline, but inline formatting is not very readable unless the amount of data is very small.

It would be better if nested untyped tables would either always be formatted as separate tables (not inlined) or there would be some kind of heuristic to decide whether to inline or not.

The same likely applies to untyped arrays.