You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw IllegalArgumentException("Cannot set/copyToRealm an outdated object. Use findLatest(object) to find the version of the object required in the given context.")
is often called recursive.
The Exception is thus useless as it doesn't tell the developer what object in the hierarchy is outdated.
Solution
Name the class of the BaseRealmObject in the Exception message.
Alternatives
Name the hierarchy of object fields that are being assigned.
How important is this improvement for you?
Would be a major improvement
Feature would mainly be used with
Local Database only
The text was updated successfully, but these errors were encountered:
Problem
throw IllegalArgumentException("Cannot set/copyToRealm an outdated object. Use findLatest(object) to find the version of the object required in the given context.")
is often called recursive.
The Exception is thus useless as it doesn't tell the developer what object in the hierarchy is outdated.
Solution
Name the class of the BaseRealmObject in the Exception message.
Alternatives
Name the hierarchy of object fields that are being assigned.
How important is this improvement for you?
Would be a major improvement
Feature would mainly be used with
Local Database only
The text was updated successfully, but these errors were encountered: