Fix TypeScript generation for multiple services - #5328
Merged
Jialin Huang (JialinHuang803) merged 5 commits intoAug 31, 2026
Merged
Conversation
Scope classic operation-group references to their owning clients and use imported client context aliases consistently. Add modular and Spector coverage for both services. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
All changed packages have been documented.
Show changes
|
Contributor
📦 Package size report1 package changed size, +4.65 KB (+0.0%) packed overall.
12 package(s) with no notable change
Packed = gzipped |
commit: |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
You can try these changes here
|
Trim the namespace prefix shared by all services while preserving service-specific model folders. Add coverage for single, shared-root, and unrelated top-level service namespaces. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Qiaoqiao Zhang (qiaozha)
approved these changes
Aug 31, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Jialin Huang (JialinHuang803)
enabled auto-merge
August 31, 2026 03:14
Jialin Huang (JialinHuang803)
deleted the
fix/typespec-ts-multiple-services
branch
August 31, 2026 04:04
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Client.<context>qualificationservice/multiple-servicesSpector case and add modular coverage for client and model hierarchyValidation
pnpm formatpnpm lintpnpm -C packages/typespec-ts run buildpnpm -C packages/typespec-ts run unit-test(666 passed)pnpm -C packages/typespec-ts run test-next(254 passed)service/multiple-servicessuccessfullyservice-multiple-services.test.ts(4 passed)service-multi-service.test.ts(2 passed)