Skip to content

Fix comments in CacheView - #69607

Merged
dariatiurina merged 2 commits into
dotnet:mainfrom
dariatiurina:dariatiurina-cacheview-user-variation-docs
Sep 30, 2026
Merged

dariatiurina merged 2 commits into
dotnet:mainfrom
dariatiurina:dariatiurina-cacheview-user-variation-docs

Conversation

@dariatiurina

Copy link
Copy Markdown
Contributor

Fix comments in CacheView

Added note to the comment in CacheView VaryByUser to prevent confusion.

@dariatiurina dariatiurina self-assigned this Sep 30, 2026
@github-actions github-actions Bot added the area-blazor Includes: Blazor, Razor Components label Sep 30, 2026
@dariatiurina
dariatiurina marked this pull request as ready for review September 30, 2026 12:42
@dariatiurina
dariatiurina requested a review from a team as a code owner September 30, 2026 12:42
Copilot AI balanced review requested due to automatic review settings September 30, 2026 12:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The guidance should clarify that VaryBy needs a claim-derived value rather than merely naming a claim.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Clarifies how CacheView.VaryByUser handles claims.

Changes:

  • Adds remarks about name identifiers and claim-based cache variation.
File Description
src/​Components/​Endpoints/​src/​CacheView/​CacheView.cs Documents VaryByUser behavior.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@dariatiurina
dariatiurina enabled auto-merge (squash) September 30, 2026 13:16
@dariatiurina
dariatiurina merged commit ae21514 into dotnet:main Sep 30, 2026
31 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants