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
I'm running into an interesting issue I've not been able to get to the bottom of for some time now.
Basically, the error is telling me that I've already registered an Object/ factory inside GetIt. This seems to be the case no matter how I try to prevent registerLazySingleton() from being called again.
I can't see why I'd get this issue again with either of the last two checks. Am I missing something obvious here? Any pointers?
I know there have been a number of similarly titled issues raised in the past but I'm struggling to see what I need to do here to stop this from happening.
This happens on the latest version:7.2.0 and other historic versions we've used in the past.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I'm running into an interesting issue I've not been able to get to the bottom of for some time now.
Basically, the error is telling me that I've already registered an Object/ factory inside GetIt. This seems to be the case no matter how I try to prevent
registerLazySingleton()
from being called again.Default implementation
Provide created instance
Check if type registered
Check if instance registered
I can't see why I'd get this issue again with either of the last two checks. Am I missing something obvious here? Any pointers?
I know there have been a number of similarly titled issues raised in the past but I'm struggling to see what I need to do here to stop this from happening.
This happens on the latest version:
7.2.0
and other historic versions we've used in the past.The text was updated successfully, but these errors were encountered: