-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Move ResponseCaching pubternal types to internal #9392
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
Conversation
@@ -30,17 +31,17 @@ public class ResponseCachingMiddleware | |||
RequestDelegate next, | |||
IOptions<ResponseCachingOptions> options, | |||
ILoggerFactory loggerFactory, | |||
IResponseCachingPolicyProvider policyProvider, | |||
IResponseCachingKeyProvider keyProvider) | |||
ObjectPoolProvider poolProvider) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that it's still necessary to resolve a ObjectPoolProvider from DI for the ResponseCachingKeyProvider (which was for perf). If/When we eventually create supported extension points, we'll need to mark this constructor as obsolete.
Oops need to update generated code and breaking changes. |
src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.netcoreapp3.0.cs
Outdated
Show resolved
Hide resolved
be31ce7
to
ca5dab5
Compare
This comment was made automatically. If there is a problem contact ryanbrandenburg. I've triaged the above build. I've created/commented on the following issue(s) |
Don't forget an announcement :). |
Announcement: aspnet/Announcements#354 |
Addresses ResponseCache portions of #6975. This is a breaking change due to the constructor change of the ResponseCachingMiddleware.
Tested locally with the analyzer to ensure all response caching errors are resolved.