#85 introduced a bug that can leave overwriteWithEmptyValue
set to true if a map is encountered, but one of the continue
or return
statements is called before calling deepMerge
(which reset to false
)
https://github.com/imdario/mergo/blob/29fb3d3bdc5512887f1dc9aedde6a0fed407fa8f/map.go#L72-L100
#133 made the bug worse by removing the reset to false
in deepMerge
, so now, any merge involving a map leaves overwriteWithEmptyValue
set to true for all remaining merges.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too