Open tristanang opened 1 month ago
Types generated by protocol buffers are incompatible with reflect.DeepEqual and needs to use proto.Equal instead. This PR modifies the matcher behavior so that proto.Equal is used if both the compared types satisfy the proto.Message interface.
All committers have signed the CLA.
I believe this duplicates https://github.com/uber-go/mock/pull/61. Is there any new information since that PR was last closed?
Types generated by protocol buffers are incompatible with reflect.DeepEqual and needs to use proto.Equal instead. This PR modifies the matcher behavior so that proto.Equal is used if both the compared types satisfy the proto.Message interface.