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

HybridCache: reflect API merge into runtime #56945

Closed
wants to merge 6 commits into from

Conversation

mgravell
Copy link
Member

@mgravell mgravell commented Jul 23, 2024

HybridCache: reflect API merge into runtime

In runtime 103103, the proposed HybridCache API was moved from a placeholder in aspnetcore into runtime (which owns the Microsoft.Extensions.Caching.Abstractions library). This means that the original API in aspnetcore is now duplicated and redundant. Additionally, runtime requested some minor last-minute API changes (mainly: prefer cancellationToken over token naming, and prefer IEnumerable<string> over IReadOnlyCollection<string> for tags parameter)

This PR reflects this merge - removing the duplicated APIs, and fixing the changes impacted by the API delta.

Since 103103 was merged immediately before the preview 7 snap, this will need applying both in main and release/9.0-preview7 after the runtime deps are updated (this is the main version). Until runtime is built and the deps are updated, aspnetcore may be unbuildable.

Cross-reference: #56945 (release/9.0-preview7)

@mgravell mgravell added the feature-caching Includes: StackExchangeRedis and SqlServer distributed caches label Jul 23, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Jul 23, 2024
@mkArtakMSFT mkArtakMSFT added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels Jul 23, 2024
@mgravell mgravell changed the base branch from main to darc-main-f3720e04-8b5a-4698-a34f-0dcd1f62ebd0 July 24, 2024 16:09
@mgravell mgravell changed the base branch from darc-main-f3720e04-8b5a-4698-a34f-0dcd1f62ebd0 to main July 24, 2024 16:09
@mgravell
Copy link
Member Author

mgravell commented Jul 24, 2024

wow, changing the base into darc was horrifying, just horrifying; note to self: don't do that again; EOD here, but I'll see if I can manually cherry-pick a new branch into darc tomorrow

@akoeplinger
Copy link
Member

@mgravell I cherry-picked the changes from this PR into #56848 and added one small build fix.

@mgravell
Copy link
Member Author

@akoeplinger thanks; the build fix was fallout from this change - confirmed: your fix was the correct one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions feature-caching Includes: StackExchangeRedis and SqlServer distributed caches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants