You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After starting debug mode (xdebug) in my VSCode an exception is thrown after performing any dingo request. It doesn't seem to affect any behavior, but annoys when trying to debug the code.
Exception has occurred.
Illuminate\Contracts\Container\BindingResolutionException: Target [League\Fractal\ScopeFactoryInterface] is not instantiable while building [Dingo\Api\Transformer\Adapter\Fractal, League\Fractal\Manager].
If you are not running the debug mode you will not see the error at all.
@specialtactics
Existing project. Too many changes to describe.
It has laravel-tenancy, Voyager, custom-coded laravel-tenancy+Voyager integrations, Dingo + Passport. Auto-discovery disabled for Voyager in favor of manual provider loading.
Ok @gruz , I guess in that case it seems like it's probably to do with the integrations of your project (in fact I am very surprised you have all those things working together !!).
If it's not easy to replicate on a new project, probably there is not much to be done, best I can do is document your solution in the wiki in a known issues section perhaps?
Actual Behaviour
After starting debug mode (xdebug) in my VSCode an exception is thrown after performing any dingo request. It doesn't seem to affect any behavior, but annoys when trying to debug the code.
./laravel/framework/src/Illuminate/Container/Container.php:962
If you are not running the debug mode you will not see the error at all.
Expected Behaviour
No exception is thrown
Possible Solutions
I can solve it by adding to my
AppServiceProvider
Possibly related to #1584
The text was updated successfully, but these errors were encountered: