-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Problem
Smokescreen support for nested eager loading is quite good; each relation can define multiple nested eager loads that will be passed to eloquent. However if your transformer uses nested data without includes then there needs to be way to define top level eager loading.
eg
Events check their calendar for permissions do decide what fields can show in the transformer. So even though I’m not including the calendar I need to eager load it for the permissions check.
Solution
Minor update 2.0.0 -> 2.1.0:
- Add a new property to the transformer for default eager loads that just get merged in with the ones that resolve from requested includes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels