Replies: 1 comment
-
@FROXZ this feature has been added to v1.3.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel has a method
withTrashed
onRoute::
Soft Deleted ModelsCurrently laravel-drafts default behavior is to fetch
withoutDrafts()
,A workaround is to add Customizing The Resolution Logic:
I think it would be nice to have
withDrafts
on Route:Currently I'm digging throug Laravel source code to see their
withTrashed()
implementation, if I find a way to similar forwithDrafts
will create a PR.Beta Was this translation helpful? Give feedback.
All reactions