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
Describe the bug
If a @Cache is used in front of the Context getCurrentUser the result will be stored for every instances of Context
Expected behavior
The Cache should not be shared between instance unless specified
Additional context
The bug comes probably from ts-method-cache but it does not seem to be maintained.
A user of WeakMap is probably a better implementation
The text was updated successfully, but these errors were encountered:
Describe the bug
If a
@Cache
is used in front of the ContextgetCurrentUser
the result will be stored for every instances ofContext
Expected behavior
The Cache should not be shared between instance unless specified
Additional context
The bug comes probably from
ts-method-cache
but it does not seem to be maintained.A user of
WeakMap
is probably a better implementationThe text was updated successfully, but these errors were encountered: