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

Error on augment expr #4926

Merged
merged 7 commits into from
Feb 27, 2025

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Oct 31, 2024

pr off #4849 that adds a breaking change that validate that you cannot augment model expression instead of just silently failing

Needs to be rebased when #4849 is merged

@timotheeguerin timotheeguerin added the breaking-change A change that might cause specs or code to break label Oct 31, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Oct 31, 2024

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - fix ✏️

Augmenting an expression will now report an error instead of silently failing to apply.

@azure-sdk
Copy link
Collaborator

azure-sdk commented Oct 31, 2024

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs 🛝 VSCode Extension

@microsoft-github-policy-service microsoft-github-policy-service bot added the compiler:core Issues for @typespec/compiler label Nov 7, 2024
@timotheeguerin timotheeguerin marked this pull request as ready for review November 7, 2024 16:13
@markcowl markcowl self-assigned this Nov 21, 2024
@markcowl markcowl added this to the [2024] December milestone Dec 2, 2024
@markcowl markcowl removed their assignment Dec 2, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the stale Mark a PR that hasn't been recently updated and will be closed. label Jan 9, 2025
@markcowl markcowl removed the stale Mark a PR that hasn't been recently updated and will be closed. label Jan 9, 2025
@markcowl
Copy link
Contributor

markcowl commented Jan 9, 2025

Adding a comment so this is not stale

@timotheeguerin timotheeguerin self-assigned this Feb 10, 2025
@timotheeguerin timotheeguerin added this pull request to the merge queue Feb 27, 2025
Merged via the queue into microsoft:main with commit 247cdb0 Feb 27, 2025
24 checks passed
@timotheeguerin timotheeguerin deleted the error-on-augment-expr branch February 27, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1_0_E2E breaking-change A change that might cause specs or code to break compiler:core Issues for @typespec/compiler triaged:core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants