cloner icon indicating copy to clipboard operation
cloner copied to clipboard

Nested relations

Open Yanuschik opened this issue 2 years ago • 1 comments

How i can add nested relations in $cloneable_relations?

now i use this protected $cloneable_relations = [ 'domains', 'technology_experience.technology.technology_category', 'technology_experience.category', 'projects', 'projects.roles', 'foreign_languages', 'certifications' ];

Yanuschik avatar Jul 26 '22 09:07 Yanuschik

If you add the Cloneable trait on the relation model you can chain the duplication further from there.

emilsrits avatar Jul 30 '22 08:07 emilsrits