Objects should always retain their references because the default method of checking object equality relies on comparing object references when the value of 'valueBy' does not exist, thereby comparing two object references.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Improvement/refactoring (non-breaking change that doesn't add any feature but make things better)
closed #4198
Description
Objects should always retain their references because the default method of checking object equality relies on comparing object references when the value of 'valueBy' does not exist, thereby comparing two object references.
Types of changes