When i get a locally saved User with my custom class ParseUser.currentUser(customUserObject: CustomUser.empty()) the field _unsavedChanges gets populated, because a new object gets created and when the fields are set they are added to _unsavedChanges. This results in overriding the changes that were made on the server when calling customUserObject.getUpdatedUser();.
Is it possible to get a public method like parseObject.clearUnsavedChanges() or to call _unsavedChanges.clear() in parseUser.getUpdatedUser()?
When i get a locally saved User with my custom class
ParseUser.currentUser(customUserObject: CustomUser.empty())the field _unsavedChanges gets populated, because a new object gets created and when the fields are set they are added to_unsavedChanges. This results in overriding the changes that were made on the server when callingcustomUserObject.getUpdatedUser();.Is it possible to get a public method like
parseObject.clearUnsavedChanges()or to call_unsavedChanges.clear()inparseUser.getUpdatedUser()?