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
While I was upgrading our code base from Theia 1.55.0 to 1.60.0, I noticed some issues appeared in our inversify factories because the container default scope changed from "Transient" to "Singleton". This causes the child container created to also be "Singleton" and introduced some bugs.
Example:
Theia 1.55.0
Theia 1.60.0
Before I apply a fix to our code base, I wanted to know if anyone has an idea on where that change comes from?
I was not able to track it down in the changelog or inversify and I actually cannot reproduce it in a jest test using a similar inversify container setup.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
While I was upgrading our code base from Theia 1.55.0 to 1.60.0, I noticed some issues appeared in our inversify factories because the container default scope changed from "Transient" to "Singleton". This causes the child container created to also be "Singleton" and introduced some bugs.
Example:

Theia 1.55.0
Theia 1.60.0

Before I apply a fix to our code base, I wanted to know if anyone has an idea on where that change comes from?
I was not able to track it down in the changelog or inversify and I actually cannot reproduce it in a jest test using a similar inversify container setup.
Beta Was this translation helpful? Give feedback.
All reactions