Skip to content

Commit

Permalink
[tcgc] rename lroMethod.initialOperation -> lroMethod.operation (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored Mar 27, 2024
1 parent 26baa1b commit 9af2978
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: breaking
packages:
- "@azure-tools/typespec-client-generator-core"
---

git status
1 change: 0 additions & 1 deletion packages/typespec-client-generator-core/src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ export interface SdkPagingServiceMethod<TServiceOperation extends SdkServiceOper

interface SdkLroServiceMethodOptions {
__raw_lro_metadata: LroMetadata;
initialOperation: SdkServiceOperation;
}

export interface SdkLroServiceMethod<TServiceOperation extends SdkServiceOperation>
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-client-generator-core/src/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function getSdkLroServiceMethod<
...basicServiceMethod,
kind: "lro",
__raw_lro_metadata: metadata,
initialOperation: diagnostics.pipe(
operation: diagnostics.pipe(
getSdkServiceOperation<TOptions, TServiceOperation>(
context,
metadata.operation,
Expand Down

0 comments on commit 9af2978

Please sign in to comment.