spatie / laravel-query-builder

Easily build Eloquent queries from API requests

Home Page:https://spatie.be/docs/laravel-query-builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to an undefined method App\Actions\Common\BaseQueryBuilder::allowedAppends()

imfaisii opened this issue · comments

I am using a Query Trait to allowAppends.
On the latest version of Spatie I get this error: Call to an undefined method App\Actions\Common\BaseQueryBuilder::allowedAppends()

QueryBuilder::for($query) ->allowedFilters(array_merge($model->getAllowedFilters(), $this->getExtraFilters())) ->allowedAppends(array_merge($model->getAllowedAppends(), $this->getExtraAppends()))