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
Hi, we saw this feature filtering with scope with model docs v5, and able to use it automatically by same way as route model binding
but we struggle when using custom EloquentBuilder class since we segregate scope's to make model looks snapy
{
"message": "[redacted]\\ItemEloquentBuilder::whereBranch(): Argument #1 ($branch) must be of type [redacted]\\Branch, string given, called in [redacted]/vendor/spatie/laravel-query-builder/src/Filters/FiltersScope.php on line 43",
hope that you can consider this work with custom eloquent builder, since it helps a lot
thanks for the great 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
-
Hi, we saw this feature filtering with scope with model docs v5, and able to use it automatically by
same way as route model binding
but we struggle when using custom
EloquentBuilder
class since we segregatescope
's to make model looks snapyhope that you can consider this work with custom eloquent builder, since it helps a lot
thanks for the great package ❤️
Beta Was this translation helpful? Give feedback.
All reactions