- Notifications
You must be signed in to change notification settings - Fork 1.3k
Known Issues
Max edited this page Mar 19, 2019 · 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"); // }