Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1210. Create a new service scope when cloning RequestContext #1211

Conversation

rafd123
Copy link
Contributor

@rafd123 rafd123 commented Nov 18, 2019

Create a new service scope when cloning RequestContext

Doing so ensures that any queries that use the cloned context get their
own scoped service instances instead of using the scoped service instances
of the original RequestContext.

This solves the issue of inadvertently having subscription event queries
use the service scope of the originating long-lived subscription request.

Addresses #1210

…stContext

Doing so ensures that any queries that use the cloned context get their
own scoped service instances instead of using the scoped service instances
of the original RequestContext.

This solves the issue of inadvertently having subscription event queries
use the service scope of the originating long-lived subscription request.

See issue ChilliCream#1210
@rafd123 rafd123 changed the base branch from master to version_10_0_0_master November 18, 2019 14:33
@michaelstaib michaelstaib self-requested a review November 18, 2019 14:36
@michaelstaib michaelstaib added this to the 10.3.0 milestone Nov 18, 2019
@michaelstaib
Copy link
Member

Hi @rafd123,

had to really look at the impact on this one, but it looks good.
will push my test in a minute.

@michaelstaib michaelstaib merged commit ab34dbc into ChilliCream:version_10_0_0_master Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants