Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply
limit
on DatabaseEngine
before applying additional constrai…
…nts (#621) The previous PR broke Laravel Nova implementation on Global Search where we use the following: ```php App\Models\User::search('Laravel')->tap(fn ($query) => $query->limit(5))->get(); ``` ### Before Callback using `tap()` take priority over default. #### After `limit()` take priority over `tap()` and I would consider this a breaking change.
- Loading branch information