Skip to content

Fixes #4150: Replace OrderedDict with Dict when rendering YAML #4155

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

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Fixes #4150: Replace OrderedDict with Dict when rendering YAML #4155

merged 1 commit into from
Feb 12, 2020

Conversation

hSaria
Copy link
Contributor

@hSaria hSaria commented Feb 12, 2020

Fixes: #4150

To strip down any YAML tags, the dictionary is first (de)serialized into JSON prior to being dumped into YAML.

@jeremystretch jeremystretch merged commit 64c0059 into netbox-community:develop Feb 12, 2020
@hSaria hSaria deleted the 4150-yaml-nested-tags branch February 13, 2020 11:19
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

YAML rendering for config contexts with overlapping nested dictionary is incorrect
2 participants