Skip to content

Handle nested tables in TOML encoder - #2

Merged
roxblnfk merged 2 commits into
1.xfrom
fix
Nov 6, 2025
Merged

Handle nested tables in TOML encoder#2
roxblnfk merged 2 commits into
1.xfrom
fix

Conversation

@roxblnfk

@roxblnfk roxblnfk commented Nov 6, 2025

Copy link
Copy Markdown
Member

What was changed

  • Fixed TOML encoder losing nested tables during encoding
  • Added flattenData() method to convert nested structures to dotted keys
  • Added fixture-based round-trip test for complex TOML files

Why?

Encoder was silently dropping nested table data (e.g., github.token,
github.plugins.*). This broke round-trip encoding/decoding for real-world TOML
configs.

🤖 Generated with Claude Code

@roxblnfk roxblnfk changed the title test: Add a test case Handle nested tables in TOML encoder Nov 6, 2025
@roxblnfk
roxblnfk merged commit de32d25 into 1.x Nov 6, 2025
15 checks passed
@roxblnfk
roxblnfk deleted the fix branch November 6, 2025 16:31
@roxblnfk roxblnfk mentioned this pull request Nov 6, 2025
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

Successfully merging this pull request may close these issues.

1 participant