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
The current system is prone to race conditions. If the first Node Handler in the chain wants to use the Json dependency, it'll be created prematurely and lack the other Node Handler SerializersModules.
Once that's done, check through the existing code to spot : Json = by inject() usages and try to replace them with eager injection. With this new system, this should also work just fine.
The text was updated successfully, but these errors were encountered:
The current system is prone to race conditions. If the first Node Handler in the chain wants to use the
Json
dependency, it'll be created prematurely and lack the other Node HandlerSerializersModule
s.Instead, split the registration process into multiple stages. First, load all Koin modules. Only when all modules were loaded, create and register the NodeHandler. This should avoid these issues in the future?
Once that's done, check through the existing code to spot
: Json = by inject()
usages and try to replace them with eager injection. With this new system, this should also work just fine.The text was updated successfully, but these errors were encountered: