-
-
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
How to overwrite Struct Pointer Field with nil? #149
Comments
Looks like #123 |
Looks like this is not fixed in |
Fixed in branch issue-149. Some tests are failing there because master is broken right now. I'll check what is happening (it isn't from the changes I did to fix it). By the other hand, please avoid in the future comments like "Same trash as mergo". Not only for me, but also for the maintainers of conjungo. I can't speak for them but I create and share my code in my free time. Mergo isn't perfect - actually I'm planning a new clean room implementation - but nobody deserves to be trashed like this. Also, please provide isolated and simplified examples when reporting errors. It took me some time to find your project, read your code and understand what are you trying to achieve. |
Following code DO NOT overwrite user with nil
Tested with all kind of options: mergo.WithOverride, mergo.WithOverwriteWithEmptyValue, mergo.WithOverrideEmptySlice, mergo.WithTypeCheck
The text was updated successfully, but these errors were encountered: