-
-
Notifications
You must be signed in to change notification settings - Fork 153
[ERROR] isReady and dependsOn not working as expected #163
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
Comments
Are you sure you initialize Hive correctly? |
@escamoteur As I said, Hive cannot be initialized correctly because Storage is not initialized before so it does not know where to initialize Hive |
And Worker initilizes Hive? |
Storage initializes Hive. Worker open boxes.
El jue., 25 de febrero de 2021 06:56, escamoteur <[email protected]>
escribió:
… And Worker initilizes Hive?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHTACIMFRRVHJZFHISNNS2DTAYNFDANCNFSM4YEVXDYQ>
.
|
Would it be possible to clone your project so that I can take a closer look? that should definitely work |
Im sorry, its closed source. But what i posted is all the code where GetIt
is used
El jue., 25 de febrero de 2021 07:17, escamoteur <[email protected]>
escribió:
… Would it be possible to clone your project so that I can take a closer
look? that should definitely work
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHTACIOO6OEG2DW3677KZZ3TAYPUVANCNFSM4YEVXDYQ>
.
|
That may be but if you check the async tests of get_it this should work. Best to create a small repro project with just the Storage/Worker class. |
Any updates on this? |
Hello. I'm using get_it to manage some dependencies on my project.
I have two models:
Storage
which has an async method calledinit
which creates folders and so on. Another model calledWorker
relies onStorage
to get a path to a folder, so,Storage
MUST load before.This is my code:
I put some debug messages to see what is happening:
It is not supposed to load Storage first?
The text was updated successfully, but these errors were encountered: