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

Capture prop injection instance when the middleware runs #1205

Merged
merged 1 commit into from Sep 28, 2020

Conversation

alistairjevans
Copy link
Member

This fixes #1204; we capture the activated instance in the middleware now, and while we do populate it later, we're populating the right instance.

… than using the final instance from the request context.
@codecov
Copy link

codecov bot commented Sep 28, 2020

Codecov Report

Merging #1205 into develop will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1205      +/-   ##
===========================================
- Coverage    75.81%   75.77%   -0.05%     
===========================================
  Files          189      189              
  Lines         4677     4677              
  Branches       956      956              
===========================================
- Hits          3546     3544       -2     
- Misses         675      676       +1     
- Partials       456      457       +1     
Impacted Files Coverage Δ
src/Autofac/Util/AsyncReleaseAction.cs 71.42% <0.00%> (-14.29%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0aa6e7a...6cd646c. Read the comment docs.

Copy link
Member

@tillig tillig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm glad this appears to be such a simple fix!

@tillig tillig merged commit 39696a9 into autofac:develop Sep 28, 2020
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.

Decorated Instances do not get properties injected if they are marked with AllowCircularDependencies
2 participants