Skip to content

[compiler] name metaproperty#9792

Open
witemple-msft wants to merge 2 commits intomicrosoft:mainfrom
witemple-msft:witemple-msft/name-metaparam
Open

[compiler] name metaproperty#9792
witemple-msft wants to merge 2 commits intomicrosoft:mainfrom
witemple-msft:witemple-msft/name-metaparam

Conversation

@witemple-msft
Copy link
Copy Markdown
Member

WIP

This PR adds a name metaproperty to declarations. This applies to model, enum, union, interface, and scalar declarations, as well as member declarations of the same.

⚠️ This PR was 100% generated automatically by the copilot CLI.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the compiler:core Issues for @typespec/compiler label Feb 24, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Feb 24, 2026

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/compiler@9792

commit: 89ff7a3

@github-actions
Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - feature ✏️

Added a name metaproperty to most declarations that evaluates to the declared name of the type.

@azure-sdk
Copy link
Copy Markdown
Collaborator

azure-sdk commented Feb 24, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@witemple-msft witemple-msft marked this pull request as ready for review March 2, 2026 14:58
@microsoft-github-policy-service microsoft-github-policy-service Bot added the stale Mark a PR that hasn't been recently updated and will be closed. label Apr 2, 2026
@microsoft-github-policy-service
Copy link
Copy Markdown
Contributor

Hi @@witemple-msft. Your PR has had no update for 30 days and it is marked as a stale PR. If it is not updated within 30 days, the PR will automatically be closed. If you want to refresh the PR, please remove the stale label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:core Issues for @typespec/compiler stale Mark a PR that hasn't been recently updated and will be closed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants