-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
I want to clone a parent model that has relations like these:
relation_1 => hasMany
relation_2 => hasMany
relation_3 => hasMany
The relation_3 itself has polymorphic relation with relation_1 or relation_2.
So if I tell the cloner to clone the parent model with all relations, the cloned relation_3 has a polymorphic connection with the old one.
Also, if we add it to the cloneable_relations attribute, it cloned a new model, while it should just update relation with the cloned model that created when we cloned parent relations.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels