Skip to content
Discussion options

You must be logged in to vote

We fixed a 6.0 bug in 6.1, where the ApplicationContext referenced by an object graph wasn't being updated as the object graph switched from the temporary scope in LocalProxy back to the caller's scope. This was preventing the use of temporary scope in LocalProxy (which is important), and so I think you are hitting the new feature - which is that LocalProxy now properly does use a temporary scope.

You can disable the use of temporary scope in LocalProxy, that's an option when you configure to use LocalProxy. You lose the ability to leverage scope to automatically manage database connections and other resources, but it would resolve your issue (I think).

I don't believe we walk any exception

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@swegele
Comment options

swegele Sep 22, 2022
Collaborator Author

Answer selected by swegele
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants