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
[BUG] Using SubstituteBindings in Lumen app shows "Target [Illuminate\Contracts\Routing\Registrar] is not instantiable while building [LaravelDoctrine\ORM\Middleware\SubstituteBindings]"
#553
Open
RobQuistNL opened this issue
Apr 3, 2023
· 0 comments
Please prefix your issue with one of the following: [BUG] [PROPOSAL] [QUESTION].
Package 1.7.11, Lumen 8.3.4
Expected behaviour
Getting routes with entities in there resolved nicely.
Actual behaviour
When adding the
LaravelDoctrine\ORM\Middleware\SubstituteBindings
middleware in the routeMiddleware, we get the following error:Illuminate\Contracts\Container\BindingResolutionException
When we don't have this middleware, the URL resolves, but receives an uninitialized object;
The text was updated successfully, but these errors were encountered: