-
Notifications
You must be signed in to change notification settings - Fork 71
feat: implement multiple services support, consolidate @client/@operationGroup, and fully migrate operation-group logic to client-state flow #3924
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
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f141395
Initial plan
Copilot 3afb4ee
feat: implement multiple services support - core changes
Copilot f2557ed
feat: add auto-merge support for explicit single-service clients and …
Copilot b72a85a
feat: add nested @client support for Scenario 2 multi-service clients
Copilot 2e9a28f
feat: finalize multiple services support - fix code review feedback, …
Copilot 3efa548
Fix test failures caused by @operationGroup deprecation warning
Copilot ad0b6da
Changes before error encountered
Copilot 1d4d957
chore: finalize @operationGroup deprecation migration docs and tests
Copilot 10af9de
fix: address PR review comments on changeset, deprecations, and neste…
Copilot dde0f8c
chore: replace @operationGroup with @client in azure-http-specs samples
Copilot 18d99cb
fix: resolve remaining review threads for operationGroup consolidation
Copilot 1734f67
refactor: fully migrate operationGroup handling to client-state flow
Copilot dd0441e
Merge branch 'main' into copilot/implement-versioning-mutation
tadelesh 8cc7cda
update
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.chronus/changes/azure-http-specs-operationgroup-to-client-2026-02-25-08-00-17.md
This file contains hidden or 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/azure-http-specs" | ||
| --- | ||
|
|
||
| Update `azure-http-specs` samples to replace deprecated `@operationGroup` usage with `@client`, including structure and naming scenarios, so samples align with the consolidated client hierarchy design. |
12 changes: 12 additions & 0 deletions
12
.chronus/changes/multiple-services-support-2026-02-11-03-16-18.md
|
tadelesh marked this conversation as resolved.
|
This file contains hidden or 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,12 @@ | ||
| changeKind: breaking | ||
| packages: | ||
| - "@azure-tools/typespec-client-generator-core" | ||
| --- | ||
|
|
||
| This change adds multiple-services client support and consolidates client hierarchy customization around `@client`. Cross-service clients now expose `apiVersionsMap` on `SdkClientType`, and multi-service hierarchy scenarios are supported, including mixed multi-service and single-service clients and nested `@client` definitions. | ||
|
|
||
| This change is breaking because when multiple `@service` namespaces exist without explicit `@client`, TCGC now creates a separate root client for each service instead of only using the first service and emitting the `multiple-services` warning. | ||
|
|
||
| `@operationGroup` is now deprecated in favor of nested `@client`, and `SdkOperationGroup` is deprecated in favor of `SdkClient`-based hierarchy customization while retaining backward compatibility for existing usage. | ||
|
|
||
| Migration guide: if you relied on implicit first-service-only behavior, either remove extra `@service` declarations or add explicit `@client` decorators to control which services are included and how hierarchy is shaped. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.