Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Delete parent model instance update children  #147

@fiftoine

Description

@fiftoine

Hi,

When deleting a parent model instance, the children (hasMany) are updated. When flushing the session, epf does a PUT for each child because they are dirty.

Actually, the server takes care of the dependencies with a cascade delete, so after the parent instance DELETE call, the children no longer exist...

How to remove those children from the session without server call?

Thanks in advance

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