Skip to content

Add diagnostic metadata to @experimental - #11684

Open
JoshLove-msft wants to merge 2 commits into
microsoft:mainfrom
JoshLove-msft:josh/experimental-diagnostic-id
Open

Add diagnostic metadata to @experimental#11684
JoshLove-msft wants to merge 2 commits into
microsoft:mainfrom
JoshLove-msft:josh/experimental-diagnostic-id

Conversation

@JoshLove-msft

Copy link
Copy Markdown
Contributor

Summary

  • add optional diagnosticId and dependsOn metadata to @experimental
  • expose full lifecycle details through the HTTP client typekit while preserving the existing lifecycle API
  • document that dependency graduation does not automatically remove experimental status
@experimental(#{ diagnosticId: "C", dependsOn: #["A", "B"] })
op bar(): void;

Validation

  • @typespec/http-client build and full test suite
  • affected-package lint and formatting checks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f0e7f0ac-c4b6-47e3-a4fc-430ff8f883c6
@pkg-pr-new

pkg-pr-new Bot commented Aug 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/http-client@11684

commit: d301a81

@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client
Show changes

@typespec/http-client - feature ✏️

Add diagnostic and dependency metadata to @experimental.,> ,> typespec,> @experimental(#{ diagnosticId: "C", dependsOn: #["A", "B"] }),> op bar(): void;,>

@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

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.

1 participant