Describe the bug
I am trying to use a custom query builder but it is not working as expected, which is explained in the following url
To Reproduce
Step 1 - Create a file in App Folder url
Step 2 - Register SearchFormQueryBuilder in Model url
Step 3 - >Do following in user controller. User: :searchForm()->name("wolf")-›execute()->models();
Current behavior
ElasticScoutDriverPlus\Builders\SearchRequestBuilder::__construct(): Argument #2 ($model) must be of type Illuminate\Database\Eloquent\Model, App\SearchFormQueryBuilder given, called in /var/www/app/User.php
Describe the bug I am trying to use a custom query builder but it is not working as expected, which is explained in the following url
To Reproduce Step 1 - Create a file in App Folder url Step 2 - Register SearchFormQueryBuilder in Model url Step 3 - >Do following in user controller. User: :searchForm()->name("wolf")-›execute()->models();
Current behavior ElasticScoutDriverPlus\Builders\SearchRequestBuilder::__construct(): Argument #2 ($model) must be of type Illuminate\Database\Eloquent\Model, App\SearchFormQueryBuilder given, called in /var/www/app/User.php
Expected behavior Should return user model.