-
Notifications
You must be signed in to change notification settings - Fork 60
Known Issues
Max edited this page Jul 23, 2024
·
2 revisions
Target [League\Fractal\ScopeFactoryInterface] is not instantiable while building [Dingo\Api\Transformer\Adapter\Fractal, League\Fractal\Manager]
This issue has cropped up in some highly customised projects, for example; https://github.com/dingo/api/issues/1636
The solution is to add the following line to the register() method of your AppServiceProvider
public function register()
{
$this->app->bind("League\\Fractal\\ScopeFactoryInterface", "\\League\\Fractal\\ScopeFactory");
//
}