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

Omit version enum by default #774

Merged

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented May 3, 2024

fix #285

Currently the default is to omit it by default (Because I think this is what we want for azure) but this is a breaking change so if we want this opt-int we can change

@azure-sdk
Copy link
Collaborator

azure-sdk commented May 3, 2024

All changed packages have been documented.

  • @azure-tools/typespec-autorest
Show changes

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

Version enum is now omitted by default. Use version-enum-strategy: include to revert behavior.

@azure-sdk
Copy link
Collaborator

@timotheeguerin timotheeguerin added this pull request to the merge queue May 6, 2024
@timotheeguerin timotheeguerin removed this pull request from the merge queue due to a manual request May 6, 2024
@timotheeguerin timotheeguerin added this pull request to the merge queue May 6, 2024
Merged via the queue into Azure:main with commit d73110f May 6, 2024
21 checks passed
@timotheeguerin timotheeguerin deleted the feature/autorest-omit-version-enum branch May 6, 2024 20:41
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.

Add option to remove 'version' enum from emitted types for typespec-autorest
3 participants