Azure / Azure/typespec-azure

[typespec-ts] Add support for skipping the final resource fetch in LRO

Open
#4,771 3 comments 0 reactions 1 assignee Claimed by @MaryGao View on GitHub
emitter:typescript
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 21h
Merged PRs (30d)
161

Description

Codegen support as it relates to https://github.com/Azure/azure-sdk-for-js/issues/32142

I am okay with this in KeyVault since we will not expose this operation option e.g `PreFullRestoreOperationOptionalParams` to public but I think there are still some dicussions on how to adopt this feature in codegen side.

Two facts here:
- The `skipFinalGet` is an operation-level configuration and it should be fixed and should be an implementation detail for that operation, so exposing to public doesn't make any sense.
- When we try to enable this `skipFinalGet` this usually means we need customizations because the generated return type or ser/deser logic may not what we want. So generally this option should not appear in standard LROs.

So simply adding this option in codegen may not what we want. Could you create an issue in codegen side? I could help follow up this.

_Originally posted by @MaryGao in https://github.com/Azure/azure-sdk-for-js/pull/33286#discussion_r2007002329_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.