epf icon indicating copy to clipboard operation
epf copied to clipboard

Delete parent model instance update children

Open fiftoine opened this issue 10 years ago • 3 comments

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

fiftoine avatar Nov 21 '14 08:11 fiftoine

Is EPF still alive and active?

fiftoine avatar Nov 27 '14 14:11 fiftoine

2 months and still no reaction.... :-1:

fiftoine avatar Jan 22 '15 15:01 fiftoine

EPF is in the process of being transitioned to https://github.com/coalescejs/coalesce (which has ember bindings)

ghempton avatar Jan 22 '15 19:01 ghempton