-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
Inconsistent merge behavior #103
Labels
Comments
Found the bug: https://github.com/imdario/mergo/blob/master/merge.go#L142 does not take into consideration Strucs.
|
Reopening this issue as its PR introduced too many bugs. |
This was referenced Mar 11, 2021
Closing as the associated PR broke Mergo and some users' projects. I'll make sure it works in v2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The first test, when merging maps with succeed, while the second, where the same maps are being merged as fields to structs it will fail.
I am not sure if this is intended behavior or not, IMO this is a bug.
The text was updated successfully, but these errors were encountered: