Skip to content

Helper function for deleting orphaned embedded objects within migration #7145

@DominicFrei

Description

@DominicFrei

Current Problem

After fixing a problem in the migration of Object to EmbeddedObject it is unclear to users what happens with orphaned objects (see discussion about throwing an error vs. deleting orphaned objects).
At the moment they have to be deleted (or solved) manually to not raise an error.

Expected Results

Add a helper function to RLMMigration for deleting orphaned objects within the migration block.

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