Open
Description
At the moment we can't have a field named "other" because it will cause an error like this:
Comparison with '==' might not be intended because 'String' and 'AddressProto' are incompatible types.
override fun equals(other: Any?): Boolean =
other is AddressProto &&
other.addressLine1 == addressLine1 &&
other.addressLine2 == addressLine2 &&
other.city == city &&
other.zip == zip &&
other.other == other && // comparing "other.other" field with other "object", we want to compare other.other with this.other
other.unknownFields == unknownFields
Maybe adding this in MessageGenerator is the way to fix this ? :
Metadata
Metadata
Assignees
Labels
No labels