You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the problem stems from the fix to an earlier issue1. While this fix works it seems to have the unintended consequence of removing parent relationship when requesting it and it has led to confusion and multiple issues23.
I think this fix should be revisited and implemented such that it doesn't interfere with other features.
I have this package installed alongside spatie/laravel-query-builder but trying to include the parent with the request does nothing. I opened a discussion on the Query Builder side, but it seems like this is a problem in nested set.
It seems like the problem stems from the fix to an earlier issue1. While this fix works it seems to have the unintended consequence of removing parent relationship when requesting it and it has led to confusion and multiple issues23.
I think this fix should be revisited and implemented such that it doesn't interfere with other features.
laravel-nestedset/src/NodeTrait.php
Lines 1078 to 1089 in afb1373
Footnotes
Maximum function nesting level error #17 ↩
The 'parent' relationship missing in Model toJson() #507 ↩
->with('parent') do not work #563 ↩
The text was updated successfully, but these errors were encountered: