-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
We have a nested set tree (kalnoy/nestedset) for pages, which contains relations for navigation like ancestors (breadcrumb), children (sub-navigation) and subtree (global menu). By default, all items have the type "pages" but for the navigation, we would like to be able to apply a different sparse field set. We've tried using ->type('navs')
for the relations but that doesn't work because the schema for that items is determined by the model (there's a schemaForModel() method used). What's the best way to assign a different type to those relations?
Metadata
Metadata
Assignees
Labels
No labels