fix(spec): typespec typescript emitter internal handling#4706
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (14)
📝 WalkthroughWalkthroughThe TypeSpec generator now emits ChangesInternal operation routing
Generated SDK contracts
Generated operations and wrappers
Documentation
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant InternalClient
participant GeneratedFunction
participant HTTPService
InternalClient->>GeneratedFunction: invoke invoice or governance method
GeneratedFunction->>HTTPService: send encoded HTTP request
HTTPService-->>GeneratedFunction: return JSON response
GeneratedFunction-->>InternalClient: validate and decode typed result
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
Greptile Summary
This PR changes how the TypeScript SDK emitter handles private operations. The main changes are:
x-privateoperations into the internal SDK surface.Confidence Score: 4/5
The private-operation export path needs a fix before merging.
api/spec/packages/typespec-typescript/src/ZodOperations.tsx and the funcs export generation path
Security Review
Formerly omitted private invoice and governance operations now become reachable through the public standalone funcs export, including invoice update and delete calls.
Important Files Changed
Prompt To Fix All With AI
Reviews (1): Last reviewed commit: "fix(spec): typespec typescript emitter i..." | Re-trigger Greptile
Context used (3)