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
So far our fix is to just publish our own copy of the config file, but ideally users should not have to do that. I think using the DeferrableProvider may not be applicable for this package, since it does more than just register bindings: https://laravel.com/docs/8.x/providers#deferred-providers
Thanks for your time
The text was updated successfully, but these errors were encountered:
Just having the exact same issue. Unless I publish the config file, then the query builder breaks as it can't find the config values when trying to get the names for sort filter etc.
Thank you
[Quick fix is indeed to publish the config file, although in my case I don't really have any need to do so]
Hello, I believe this commit that introduced the
DeferrableProvider
is causing the non-published config file from being loaded: #660This causes an issue in
QueryBuilderRequest
where all input data is returned instead of just thefilter=
values, becausefilterParameterName
ends up beingnull
: https://github.com/spatie/laravel-query-builder/blob/master/src/QueryBuilderRequest.php#L93So far our fix is to just publish our own copy of the config file, but ideally users should not have to do that. I think using the
DeferrableProvider
may not be applicable for this package, since it does more than just register bindings: https://laravel.com/docs/8.x/providers#deferred-providersThanks for your time
The text was updated successfully, but these errors were encountered: