Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce verbosity of sub tables #62

Open
kgevorkyan opened this issue Jul 20, 2021 · 2 comments
Open

Reduce verbosity of sub tables #62

kgevorkyan opened this issue Jul 20, 2021 · 2 comments
Assignees

Comments

@kgevorkyan
Copy link

Please take a look at toml-lang/toml#413. Despite the fact, that for now there is no such feature in TOML standard, may be it will be convenient and could be an optional possibility

@orchestr7 orchestr7 self-assigned this Dec 10, 2021
@NfNitLoop
Copy link

toml-lang/toml#413 was closed in 2017 and doesn't look like it's going to be a thing. Seems like handling actual TOML features should probably be higher priority. Diverging standards is not a good idea IMO.

I agree with comments in the above ticket. TOML is meant to be a configuration file format, not a general purpose data serialization format. If you have very deep data structures, you might want to consider flattening them so they're easier to configure.

If you're trying to use TOML to represent arbitrary hierarchical data structures, you might want another data format.

@orchestr7
Copy link
Owner

orchestr7 commented Dec 21, 2021

@NfNitLoop Thank you for this feedback, actually I agree with you.
May be in the very long term future (after COVID era 😄) we can support it under some option (not by the default), but definitely not now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants