The use of searchable argument in the scout commands, instead of model as the base laravel scout package breaks the integration with other libraries.
For example, the import command:
https://github.com/algolia/scout-extended/blob/master/src/Console/Commands/ImportCommand.php
https://github.com/laravel/scout/blob/10.x/src/Console/ImportCommand.php
Other libraries that use the scout command with model argument breaks when using scout extended. I think the package should use the same command signature to keep the consistency.
The use of
searchableargument in the scout commands, instead ofmodelas the base laravel scout package breaks the integration with other libraries.For example, the import command:
https://github.com/algolia/scout-extended/blob/master/src/Console/Commands/ImportCommand.php
https://github.com/laravel/scout/blob/10.x/src/Console/ImportCommand.php
Other libraries that use the scout command with
modelargument breaks when using scout extended. I think the package should use the same command signature to keep the consistency.