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

New Merge Method proposal #37

Merged
merged 2 commits into from
Mar 10, 2020
Merged

New Merge Method proposal #37

merged 2 commits into from
Mar 10, 2020

Conversation

alex-ber
Copy link
Contributor

I don't want to list to be merged, I want them to be replaced.

My use case is the following: I have config.yml and config-dev.yml, etc (dev is profile). I want default configuration to be taken from config.yml and if I use dev profile appropriate configuration I want to be overridden by config-dev.yml. Spring Boot (this is Framework in Java) don't merge lists, it replaces them, so I want to mimic this behavior.

#36

I don't want to list to be merged, I want them to be replaced.

My use case is the following: I have config.yml and config-dev.yml, etc (dev is profile). I want default configuration to be taken from config.yml and if I use dev profile appropriate configuration I want to be overridden by config-dev.yml. Spring Boot (this is Framework in Java) don't merge lists, it replaces them, so I want to mimic this behavior.

#36
@alex-ber
Copy link
Contributor Author

alex-ber commented Mar 5, 2020

Any comments?

@alex-ber alex-ber mentioned this pull request Mar 5, 2020
@zerwes zerwes changed the base branch from master to pr-37 March 10, 2020 07:01
@zerwes zerwes merged commit bf9935d into zerwes:pr-37 Mar 10, 2020
zerwes added a commit that referenced this pull request Mar 10, 2020
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.

None yet

2 participants