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

Fix Lua.Table.as_string with nested tables #57

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

davydog187
Copy link
Contributor

Before this PR, we were not converting nested tables into valid Lua literals, e.g.

Before

iex(1)> Lua.Table.as_string(%{a: %{b: 1}})
"{a = %{b: 1}}"

After

iex(1)> Lua.Table.as_string(%{a: %{b: 1}})
"{a = {b = 1}}"

@davydog187 davydog187 merged commit f3ef3cb into main Oct 30, 2024
1 check passed
@davydog187 davydog187 deleted the fix-nested-table-as-string branch October 30, 2024 13:36
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