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

Fix issue with @removed decorator if model was not added from beginning #3409

Merged
merged 5 commits into from
May 21, 2024

Conversation

tjprescott
Copy link
Member

@tjprescott tjprescott commented May 21, 2024

Fixes #3210

While the issue was for model properties, it also applies to interfaces, so tests are included for both.

(cherry picked from commit 5093f97)
@azure-sdk
Copy link
Collaborator

azure-sdk commented May 21, 2024

All changed packages have been documented.

  • @typespec/versioning
Show changes

@typespec/versioning - fix ✏️

Using @removed on member types and @added on containing type could result in errors

@azure-sdk
Copy link
Collaborator

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3409/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3409/

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

Successfully merging this pull request may close these issues.

[Bug]: @removed decorator for a property won't work directly, if a model is not added from the very begining
3 participants