lagom icon indicating copy to clipboard operation
lagom copied to clipboard

Singletons in ContextContainer have unclear scoping

Open meadsteve opened this issue 3 years ago • 0 comments

For the ContextContainer the resolved instance will persist in the singleton even after exit has been called. This doesn't really make sense.

It's only an issue in the ContextContainer itself not the fastapi integration as the fastapi integration has one container per request and no re-use.

meadsteve avatar Dec 01 '21 07:12 meadsteve