Skip to content

Clarify AllowUpdates property summary comment - #68618

Merged
ilonatommy merged 2 commits into
mainfrom
guardrex/allow-updates-description
Aug 20, 2026
Merged

ilonatommy merged 2 commits into
mainfrom
guardrex/allow-updates-description

Conversation

@guardrex

@guardrex guardrex commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Clarify AllowUpdates property summary comment

Updated summary comment for AllowUpdates property to clarify its behavior during enhanced navigation.

Description

Per @danroth27's suggestion on the docs issue ...

The PersistentStateAttribute.AllowUpdates API documentation currently says that the property controls whether a component receives updates "beyond the initial value provided during initialization." The Blazor prerendered-state documentation explains that this means updates supplied during enhanced navigation, but that scope isn't clear from the API text itself.

Suggested changes:

  • Update the API summary to mention enhanced-navigation updates explicitly.
  • ... pertains to article changes handled by a separate docs PR ...
  • ... pertains to article changes handled by a separate docs PR ...

Addresses dotnet/AspNetCore.Docs#37483

Updated summary comment for AllowUpdates property to clarify its behavior during enhanced navigation.
Copilot AI lite review requested due to automatic review settings August 18, 2026 11:07
@guardrex
guardrex requested a review from a team as a code owner August 18, 2026 11:07

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.

Pull request overview

Updates the API XML documentation for PersistentStateAttribute.AllowUpdates in Blazor Components to better convey that “beyond initial value” includes updates delivered during enhanced navigation, aligning the API surface documentation with the behavior described in the prerendered-state docs.

Changes:

  • Refines the AllowUpdates property <summary> text to explicitly mention enhanced navigation.

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

@ilonatommy ilonatommy modified the milestones: 11.0-rc1, 12.0-preview1 Aug 20, 2026
@ilonatommy
ilonatommy merged commit ccf121a into main Aug 20, 2026
29 checks passed
@ilonatommy
ilonatommy deleted the guardrex/allow-updates-description branch August 20, 2026 06:14
@ilonatommy

Copy link
Copy Markdown
Member

/backport to release/11.0-rc1

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/11.0-rc1 (link to workflow run)

wtgodbe pushed a commit that referenced this pull request Aug 21, 2026
* Clarify AllowUpdates property summary comment

Updated summary comment for AllowUpdates property to clarify its behavior during enhanced navigation.

* Fix AllowUpdates XML documentation wording



---------

Co-authored-by: Luke Latham <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — c8661c12 Deployed Aug 20, 2026 by ilonatommy via conclusion #937
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants