Skip to content

Merge with primary schema#4

Open
nixjdm wants to merge 6 commits intoclick-contrib:mainfrom
terminal-labs:merge-with-primary-schema
Open

Merge with primary schema#4
nixjdm wants to merge 6 commits intoclick-contrib:mainfrom
terminal-labs:merge-with-primary-schema

Conversation

@nixjdm
Copy link
Copy Markdown

@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
Copy Markdown

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

@gilesknap
Copy link
Copy Markdown

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