-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
tableMap Codec with implicit tables not parsed #336
Comments
tried one more. this [colours.red]
red = 255
green = 0
blue = 0
[colours]
yellow = "#FFFF00"
pink = "#FFC0CB" only gives output [colours]
pink = "#FFC0CB"
yellow = "#FFFF00" |
Hi @everythingfunctional! Thanks for reporting the problem with the specific use-case. Current workaround is to specify implicit tables explicitly. Sorry for the inconvenience. |
I had it feeling it might be complicated. Glad to hear it's at least in the plan. Thanks for looking into it. |
I got a report from one of my users that the
tableMap
codec isn't working with implicit tables.I did a little bit of playing with the
examples/biTest.toml
file and found that it still worked if I changedto
still get output
but if I changed it to
or
then the output is just
[colours]
I'm guessing that the keys aren't combined into a single table without the single table declaration, and then the converter isn't picking them up. I'm a bit out of my depth on how to fix it though.
The text was updated successfully, but these errors were encountered: