Comparator is on object equivalence, not value equivalence
----------------------------------------------------------

                 Key: THRIFT-3
                 URL: https://issues.apache.org/jira/browse/THRIFT-3
             Project: Thrift
          Issue Type: Bug
          Components: Library (Ruby)
            Reporter: Bryan Duxbury
            Priority: Minor


If you try to compare two generated Ruby objects of the same Thrift type, == 
will not evaluate true, because the default == operator is on object id. This 
makes it hard to use Thrift objects in testing (and elsewhere, no doubt).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to