-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Add WithSliceDeepMerge option #234
Conversation
1094edd
to
4c25c5b
Compare
4c25c5b
to
7cab6cf
Compare
7cab6cf
to
fc6fffa
Compare
issues noted by codeclimate addressed |
commits squashed for clarify |
Hello @imdario, can you please suggest, what next steps should be taken in order to move on with this PR? |
@sunsingerus I'll review during the weekend. |
@imdario any news about this PR? |
@Slach I had no opportunity to review it in depth. I won't be able to try again until August as I'm getting married. |
Sorry but adding more complexity to that condition in |
PR for issue #233.
Introduce new option
mergo.WithSliceDeepMerge
which can be tuned withmergo.WithOverride
ormergo.WithOverwriteWithEmptyValue
.Test cases are provided in
issue233_test.go
formergo.WithSliceDeepMerge
and combinations withmergo.WithOverride
ormergo.WithOverwriteWithEmptyValue
.Test are being run successfully with
go test
.