Skip to content
New issue

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

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

Already on GitHub? # to your account

Serialize empty arrays within tables #11

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

heaths
Copy link

@heaths heaths commented Feb 27, 2025

Resolves #10

@heaths
Copy link
Author

heaths commented Feb 27, 2025

This is a draft to add tests for this case for now, but is otherwise blocked on xoofx/Tomlyn#98. Debugging through the code while running the tests, you internal TomlConverter is correctly adding the empty to the TomlModel to be serialized.

I looked for any workaround in the Tomlyn docs but nothing obvious popped out. I filed a bug in their repo and will go from there.

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

Successfully merging this pull request may close these issues.

Empty, unreferenced arrays are not being serialized
1 participant