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

Update targets for Versioning decorators #2580

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

tjprescott
Copy link
Member

@tjprescott tjprescott commented Oct 17, 2023

Fix #2497.

Clarifies which TypeSpec types these decorators can actually be used on by-design.

BREAKING CHANGE This is a breaking change because if unsupported elements were previously decorated with these (i.e. Namespaces) those will now throw an error.

@github-actions
Copy link
Contributor

Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/2580/

Website: https://tspwebsitepr.z22.web.core.windows.net/prs/2580/

@tjprescott tjprescott added the breaking-change A change that might cause specs or code to break label Oct 17, 2023
@tjprescott tjprescott enabled auto-merge (squash) October 18, 2023 16:53
@tjprescott tjprescott merged commit af5ad70 into microsoft:main Oct 18, 2023
12 checks passed
@tjprescott tjprescott deleted the versioning/narrowTargets branch October 18, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change A change that might cause specs or code to break
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@added decorator does not work when applied to a namespace
2 participants