Closed Tobriand closed 3 years ago
Hi,
Ah yeah, I think I know what is going on here. The issue is that the first resolution creates and caches the factory delegate to serve your instance, however, this cache is not going to be invalidated when you put something into the scope to override services. I'm going to fix that and let you know when the next pre-release is ready.
Thanks for reporting!
Hey, I published a new pre-release version where this functionality should work properly, could you please give it a try? Thanks!
Closing due to inactivity, feel free to reopen this, or create a new issue when something related comes up.
Hi,
When I use the preview version of stashbox (appreciate this may be on your radar and just not final therefore), I'm getting some very strange behaviour when working with scopes:
Am I missing something and this is actually the expected behaviour when operating in a scope (in which case what should I be doing instead to get a scenario where I get access to container registrations, but can locally override), or should at least one of these work?