-
Notifications
You must be signed in to change notification settings - Fork 23
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
Error when router object should be used via injection #57
Comments
Hi, |
Hey @DerLeviathan, we will investigate further. Sorry, this did not the trick for you. |
Hi @prode81, do you already have some update on this issue. Thank you & best regards. |
Related to mercedes-benz#57 Bind `RouterServiceType` to the DI container in the `init` function in `App.tsx`. * Bind `RouterServiceType` to the DI container in the `init` function in `App.tsx` using `serviceIds.routerService`. * Ensure `RouterServiceType` is correctly bound to the DI container in `RouterProvider.tsx` using `serviceIds.routerService`. * Check for the binding of `RouterServiceType` in the DI container in `inject.tsx` using `serviceIds.routerService`.
We are in the process of updating FTK in our application from version 0.3.2 to version 0.4.3.
We followed the migration guidelines at https://github.com/mercedes-benz/mo360-ftk/blob/master/docs/guides/migration.md.
Therefore, we schematically adapted our original init() function as follows:
Unfortunately, at runtime when we want to use the router object via injection
we get following error message:
@prode81 Can you tell us what we are doing wrong here or how we can avoid this mistake?
The text was updated successfully, but these errors were encountered: