-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Right now, we have all api version information tied to the `sdkContext` as a whole. As an example, this means that when we add a client in a later version, we're not able to have granular handling of api version for the second client. In this PR, I've made all api version information a mapping from namespace to apiVersion information. I also added a test that reproduces one of the previous issues. The PR diff is large bc I've had to add parameters everywhere so I'm still passing --------- Co-authored-by: iscai-msft <[email protected]>
- Loading branch information
1 parent
199748d
commit 574936e
Showing
7 changed files
with
248 additions
and
70 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.chronus/changes/fix_client_version_params-2024-4-3-14-57-7.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,7 @@ | ||
--- | ||
changeKind: fix | ||
packages: | ||
- "@azure-tools/typespec-client-generator-core" | ||
--- | ||
|
||
tie api version information to clients so we can have diff api version information per client |
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.