-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Labels
Description
Goals
Feature request: Have RealmObject overload GetHashCode to match the overload of Equals. I
I think it i "bad" c#-style not to do so - it even gives a usage warning: CA2218: Override GetHashCode on overriding Equals on compilation (https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2218-override-gethashcode-on-overriding-equals).
For extra bonus, have GetHashCode work even if IsValid == false if possible. This will allow us to cleanup any mapped objects we may have stored in hash tables.
Reactions are currently unavailable