Open jaulz opened 3 years ago
This PR will add the possibility to use a callback for the $config parameter. Having this it will allow you to support dynamic languages:
$config
'config' => function ($model) { return $model->language; },
This will probably solve https://github.com/pmatseykanets/laravel-scout-postgres/issues/42 as well.
This PR will add the possibility to use a callback for the
$config
parameter. Having this it will allow you to support dynamic languages:This will probably solve https://github.com/pmatseykanets/laravel-scout-postgres/issues/42 as well.