Is there a way to load a nested parent relationship on a resource?
Is there a way to load a nested parent relationship on a resource?
Ie.
%MyResource{...
parent: %MyResource{...
parent: %MyResource{...
parent: nil
}
I essentially want to upsert a tree structure, via manage_relationship change on all leaf changesets.
I know the depth won't be anything major crazy.
1 Reply
You'll need to hand roll that
like something that recursively loads etc.