-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace
tspNamespace
with crossLanguageDefinitionId
in enum, mode…
…l, union and array types (#1075) Fixes #1073 Per offline discussion, `crossLanguageDefinitionId` is actually a much better candidate of telling people the originate of this type, therefore this should solve all of our requirement and we no longer need a `tspNamespace` anymore. --------- Co-authored-by: Chenjie Shi <[email protected]>
- Loading branch information
1 parent
660b587
commit 3f911bb
Showing
7 changed files
with
53 additions
and
57 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
.../changes/remove-tspnamespace-add-crosslanguagedefinitionid-2024-5-25-16-6-39.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
changeKind: feature | ||
packages: | ||
- "@azure-tools/typespec-client-generator-core" | ||
--- | ||
|
||
Replace `tspNamespace` with `crossLanguageDefinitionId`. | ||
- Remove `tspNamespace` in `SdkEnumType`, `SdkModelType`, `SdkUnionType`, `SdkArrayType`. | ||
- Add `crossLanguageDefinitionId` to `SdkUnionType` and `SdkArrayType`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.