Skip to content

Desesperately need cascadeSave like parameter for the Android SDK #1006

Open
@ramiro-ciocca

Description

@ramiro-ciocca

When Local Data Store is enabled and you have very complex ParseObjects with pointers to other ParseObjects, save methods insice ParseObject.java go mad and it can take minutes to complete a simple save.
I have tracked down the issue till line 662 of ParseObject.java, where is called collectDirtyChildren that enters and insane almost infinite loop traversing every single attribute of every single nested object pinned in the entire LDS, not just the objects Im saving.
I understand that is a functionallity that many developers would use, but we need a way to say "we dont want to save children objects" to the save method, just like in JS SDK, with the cascadeSave=false.
Because of this LDS issue, I'm forced to write cloud code for every single save, or disallow LDS.
Please, if I could comment that line I think that would be the solution, but it is into an aar file, I dont know how to modify that.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions