-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RealmObject equals
are probably not correct
#1097
Comments
13 tasks
Any update on this? Is currently the only option is to compare value by value aka deepEquals? |
@cmelchior tagging you as reporter |
Hi @tarasmorskyi-mediamonks. Unfortunately, the work-around right now is to use deepEquals. We will be looking into fixing this shortly because this also effects things like Lists, Sets and Maps. |
edualonso
pushed a commit
that referenced
this issue
Feb 27, 2023
…r when the equality issue #1097 is addressed
It appears this issue fell through the cracks and should be fixed soon. |
This was referenced Aug 10, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When reading objects from Realm, we use their default
equals
implementation, which compares by memory reference. This means that the following behavior can be observed:We should also take into account
RealmAny
instances containing objects.The text was updated successfully, but these errors were encountered: