Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default mergo doesn't allow merging a non empty value with an empty value. For example if a field is a string "hello" it would not override it, if the to be merged object contains the same field with "". This works well until someone wants to override a true boolean with a false boolean, in which case the merge doesn't happen. By setting `mergo.WithOverwriteWithEmptyValue`, we can force mergo to merge empty values into noni empty values. darccio/mergo#249
- Loading branch information