Add child client API version overrides - #5157
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f21ed198-f6d8-4a45-ab56-25dbec549540
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f21ed198-f6d8-4a45-ab56-25dbec549540
|
All changed packages have been documented.
Show changes
|
@azure-tools/typespec-autorest
@azure-tools/typespec-azure-resource-manager
@azure-tools/typespec-client-generator-core
@azure-tools/typespec-go
@azure-tools/typespec-ts
commit: |
|
You can try these changes here
|
Validate root-client API version overrides while constructing the SDK package so TypeSpec validation does not eagerly build the client graph or duplicate unrelated diagnostics. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f21ed198-f6d8-4a45-ab56-25dbec549540
Keep client override validation in the TypeSpec validation hook, but determine explicit client ancestry directly from scoped decorator state so validation does not emit SDK graph diagnostics early or twice. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f21ed198-f6d8-4a45-ab56-25dbec549540
|
Hi @Mark Cowlishaw (@markcowl). Your PR has had no update for 14 days and it is marked as a stale PR. If it is not updated within 14 days, the PR will automatically be closed. If you want to refresh the PR, please remove the |
Summary
@overrideClientApiVersiondecorator for interface subclientsinfo.versionwhen all operations in a document use one override, with mismatch warnings and explicit ARM feature-file precedenceValidation