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
Hello! During my experience with this amazing package, I came out with a trait that lets you configure the Builder behavior from within the desired model. So, for example, you can configure all related filters, includes, etc from the model, and then use it in this way (typically in a controller):
// Somewhere in a controller
User::requestBuilder($request)->paginate()
I was dubious if open a PR, or simply release a simple trait as a "package"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! During my experience with this amazing package, I came out with a trait that lets you configure the Builder behavior from within the desired model. So, for example, you can configure all related filters, includes, etc from the model, and then use it in this way (typically in a controller):
I was dubious if open a PR, or simply release a simple trait as a "package"
Beta Was this translation helpful? Give feedback.
All reactions