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

Merge with primary schema #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

nixjdm
Copy link

@nixjdm nixjdm commented Feb 7, 2018

Added the optional ability to mark schemas for merging. Any marked schema is merged into the default_map, just as the primary schema is. I also added a note about this to the docs and added a test.

Example usage can be seen in the tests. In short, this uses another list in ConfigFileReader called config_section_primary_schemas, similar to config_section_schemas.

Default behavior is unchanged.

This is a solution to #2

@kdeldycke
Copy link

I'd love to see that PR merged! :)

@gilesknap
Copy link

Yes, this looks like a good feature to have!

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.

3 participants