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

Stop mutating input in lkml.dump #74

Merged
merged 4 commits into from
Oct 25, 2022
Merged

Stop mutating input in lkml.dump #74

merged 4 commits into from
Oct 25, 2022

Conversation

joshtemple
Copy link
Owner

We shouldn't directly mutate the input when calling .dump in case it needs to be reused by the user. Instead, we should make a copy before operating on it.

Closes #61.

@joshtemple joshtemple merged commit c7545dc into master Oct 25, 2022
@samjewell
Copy link

Awesome! Thanks for this 🙏

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.

lkml.dump deletes "name" key from dict
2 participants