Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

NodeAttributes.to_dict now does a recursive merge #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

NodeAttributes.to_dict now does a recursive merge #75

wants to merge 1 commit into from

Conversation

ryanohnemus
Copy link

from #64: if "postgresql" is set on the default level to {"version": "9.5"} and on the normal level to {"enable_pgdg_apt": true}, then the "postgresql" key in the output of to_dict() would have the value of {"enable_pgdg_apt": True} instead of {"enable_pgdg_apt": True, "version": "9.5"}

With this change, you should now get a properly merged dictionary showing {"enable_pgdg_apt": True, "version": "9.5"}

fixes #64


I didn't see a contributing doc, so let me know if I need to change anything else... ie setup.py version, etc

please see #64 for an example of the issue

fixes #64
@ryanohnemus
Copy link
Author

@coderanger would you be able to give any feedback?

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.

NodeAttributes.to_dict() only does a shallow merge
1 participant