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
Is your feature request related to a problem? Please describe.
Currently we cannot use a .withDeleted() on a nested eager load, this is causing an issue when trying to account for soft deleted items within a relationship.
Describe the solution you'd like
Something similar to: Item1.query(on: req.db) .withSoftDeletesIncluded(\.$model) Item1.query(on: req.db) .withDeleted(\.$model)
Describe alternatives you've considered
Currently I query separately rather than nesting so I can include soft deletes.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently we cannot use a .withDeleted() on a nested eager load, this is causing an issue when trying to account for soft deleted items within a relationship.
Describe the solution you'd like
Something similar to:
Item1.query(on: req.db) .withSoftDeletesIncluded(\.$model)
Item1.query(on: req.db) .withDeleted(\.$model)
Describe alternatives you've considered
Currently I query separately rather than nesting so I can include soft deletes.
The text was updated successfully, but these errors were encountered: