-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target [League\Fractal\ScopeFactoryInterface] is not instantiable while building [Dingo\Api\Transformer\Adapter\Fractal, League\Fractal\Manager] #1636
Comments
Hi @gruz thanks for reporting. Is this a new or existing project? If existing, what changes occurred to begin manifesting this error? |
@specialtactics 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? |
Ok. |
Thanks for your help Documented here: https://github.com/dingo/api/wiki/Known-Issues |
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: