Page MenuHomePhabricator

Differ needs a callback for comparing objects
Closed, ResolvedPublic

Description

Differs can not know by themselves how to determine whether two objects they encounter as values should be considered equal. Per default, they check for object identity only. This should be customizable.

Differs could just take a callback as a parameter to their constructor, and use it to compare objects they encounter.


Version: unspecified
Severity: normal

Details

Reference
bz44556