Skip to content

Commit

Permalink
Polish some API names in TCGC (Azure#1463)
Browse files Browse the repository at this point in the history
Fixes Azure#874
Fixes Azure#933
Fixes Azure#1462
Fixes Azure#1466
  • Loading branch information
ArcturusZhang authored and markcowl committed Sep 26, 2024
1 parent 09ab5f5 commit af57914
Show file tree
Hide file tree
Showing 7 changed files with 590 additions and 621 deletions.
12 changes: 12 additions & 0 deletions .chronus/changes/change-some-bad-apis-2024-8-3-7-4-12.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: breaking
packages:
- "@azure-tools/typespec-client-generator-core"
---

1. The kind for `unknown` renamed from `any` to `unknown`.
2. The `values` property in `SdkUnionType` renamed to `variantTypes`.
3. The `values` property in `SdkTupleType` renamed to `valueTypes`.
4. The example types for parameter, response and `SdkType` has been renamed to `XXXExampleValue` to emphasize that they are values instead of the example itself.
5. The `@format` decorator is no longer able to change the type of the property.
Loading

0 comments on commit af57914

Please sign in to comment.