Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-ms-identifiers alternatives #1983

Merged
merged 21 commits into from
Jan 10, 2025

Conversation

AlitzelMendez
Copy link
Member

issue: #1473

@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 12, 2024

All changed packages have been documented.

  • @azure-tools/typespec-autorest
  • @azure-tools/typespec-azure-resource-manager
Show changes

@azure-tools/typespec-autorest - feature ✏️

Use the @Identifiers decorator to identify and utilize identifiers for x-ms-identifiers. Additionally, use the @key decorator to identify identifiers.

@azure-tools/typespec-azure-resource-manager - feature ✏️

Use the @Identifiers decorator to identify and utilize identifiers for x-ms-identifiers. Additionally, use the @key decorator to identify identifiers.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@AlitzelMendez AlitzelMendez changed the title [WIP] x-ms-identifiers alternatives x-ms-identifiers alternatives Dec 17, 2024
@AlitzelMendez AlitzelMendez marked this pull request as ready for review December 17, 2024 17:46
Copy link
Member

@markcowl markcowl left a comment

Choose a reason for hiding this comment

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

A few changes - there is a subtlety that 'name' and 'id' properties remove the need for x-ms-identifiers.

Also, should have an up-to-date PR showing the changes this creates in azure-rest-api-specs repos

@AlitzelMendez AlitzelMendez linked an issue Jan 6, 2025 that may be closed by this pull request
@markcowl markcowl self-assigned this Jan 9, 2025
Copy link
Member

@markcowl markcowl left a comment

Choose a reason for hiding this comment

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

Approved with a few minor nits

@AlitzelMendez AlitzelMendez added this pull request to the merge queue Jan 10, 2025
Merged via the queue into Azure:main with commit 426b739 Jan 10, 2025
23 checks passed
@AlitzelMendez AlitzelMendez deleted the x-ms-identifiers-alternatives branch January 10, 2025 01:18
markcowl added a commit to markcowl/typespec-azure that referenced this pull request Jan 11, 2025
issue: Azure#1473

---------

Co-authored-by: Mark Cowlishaw <[email protected]>
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.

x-ms-identifiers alternative
3 participants