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

ARM Library reorganization #945

Merged
merged 33 commits into from
Jun 12, 2024
Merged

Conversation

allenjzhang
Copy link
Member

  • Created fully versioned Azure.ResourceManager.CommonTypes subnamespace
  • Moving all common type definitions/parameters into corresponding tsp files for later easy swagger generation
  • Adding back compat layers so all existing entities moved from Foundations continue to work (via alias)
  • Added default logic to add @useDependency to CommonType reference via @armProviderNamespace and @armCommonTypeVersion decorators to prevent breaking change.

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jun 1, 2024

All changed packages have been documented.

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

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

Reorganize ARM library internal models into fully version controlled Azure.ResourceManager.CommontTypes namespace.

@azure-sdk
Copy link
Collaborator

@pshao25
Copy link
Member

pshao25 commented Jun 3, 2024

I think we should change the swagger emitter from "read metadata from armCommonTypeVersion" to "consume data from compiler output"?

@XiaofeiCao
Copy link
Contributor

Would you also help address the visibility discrepancy with swagger too? Thanks!

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.

It looks like the failures are due to a conflict, and just rebuilding and regenerating samples

@allenjzhang allenjzhang added this pull request to the merge queue Jun 12, 2024
Merged via the queue into Azure:main with commit fe90e20 Jun 12, 2024
21 checks passed
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.

6 participants