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

Generate Azure.ResourceManager.CommonTypes schemas and include v6 #1028

Open
4 tasks done
abatishchev opened this issue Jun 17, 2024 · 2 comments · May be fixed by #1029
Open
4 tasks done

Generate Azure.ResourceManager.CommonTypes schemas and include v6 #1028

abatishchev opened this issue Jun 17, 2024 · 2 comments · May be fixed by #1029
Labels
feature New feature or request lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library

Comments

@abatishchev
Copy link
Contributor

Clear and concise description of the problem

Attempting to reference the latest version of the Common Types:

@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6)

fails with an error:

Error (active)	invalid-ref	Enum doesn't have member v6

Checklist

  • Follow our Code of Conduct
  • Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@abatishchev
Copy link
Contributor Author

Related to #653 but here I'm asking only to enrich the enum member, if this makes any sense.

@abatishchev abatishchev linked a pull request Jun 17, 2024 that will close this issue
@markcowl markcowl added feature New feature or request lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library labels Jun 18, 2024
@markcowl markcowl added this to the Backlog milestone Jun 18, 2024
@markcowl markcowl modified the milestones: Backlog, [2024] July Jun 18, 2024
@allenjzhang allenjzhang self-assigned this Jun 25, 2024
@allenjzhang
Copy link
Member

allenjzhang commented Jul 2, 2024

Hi, Alex, with the complete reorg of ARM common types in TypeSpec, the release of common type will not be piece meal anymore. ie, if adding xxx.json in v6 and later on add another change in types.json in v6 without worrying about breaking change.
I am going to work with ARM team to transition moving authoring in TypeSpec. Please stay tuned.

Please let me know if this is an urgent need.

@markcowl markcowl changed the title Azure.ResourceManager.CommonTypes.Versions doesn't contain v6 Generate Azure.ResourceManager.CommonTypes schemas and include v6 Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants