Skip to content

Hide experimental circuit JSON resolver API - #68585

Merged
javiercn merged 1 commit into
mainfrom
javiercn/mark-aspire-api-experimental
Aug 17, 2026
Merged

javiercn merged 1 commit into
mainfrom
javiercn/mark-aspire-api-experimental

Conversation

@javiercn

Copy link
Copy Markdown
Member

Summary

  • keep CircuitOptions.JsonTypeInfoResolvers marked experimental
  • hide the specialized Native AOT configuration hook from IntelliSense with EditorBrowsableState.Never

Follow-up to #68307.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: f9e317f6-4d92-4969-8719-9067939ecbd7
@javiercn
javiercn requested a review from a team as a code owner August 17, 2026 12:19
Copilot AI lite review requested due to automatic review settings August 17, 2026 12:19

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

This PR further de-emphasizes the experimental circuit JSON resolver hook in CircuitOptions by hiding it from IntelliSense while keeping the API explicitly marked as experimental. This aligns with the intent to keep the capability available for specialized Native AOT scenarios without advertising it as a mainstream configuration surface.

Changes:

  • Added [EditorBrowsable(EditorBrowsableState.Never)] to CircuitOptions.JsonTypeInfoResolvers to hide it from IntelliSense.
  • Kept the existing [Experimental("ASPNETCORE9004", ...)] annotation on the API.

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

@javiercn
javiercn merged commit e3af7f5 into main Aug 17, 2026
32 checks passed
@javiercn
javiercn deleted the javiercn/mark-aspire-api-experimental branch August 17, 2026 16:15
@javiercn

Copy link
Copy Markdown
Member Author

/backport to release/11.0-rc1

@github-actions

Copy link
Copy Markdown
Contributor

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

@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Aug 18, 2026
javiercn added a commit that referenced this pull request Aug 18, 2026
Co-authored-by: Copilot App <[email protected]>

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: f9e317f6-4d92-4969-8719-9067939ecbd7
akoeplinger pushed a commit that referenced this pull request Aug 18, 2026
Co-authored-by: Javier Calvarro Nelson <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: f9e317f6-4d92-4969-8719-9067939ecbd7
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.

4 participants