Skip to content

Remove _unsavedChanges from custom User #318

Description

@nicoco2

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()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions