Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WaitForCompletion scope is not included in the LowLevelFuncOperation #2236

Closed
pshao25 opened this issue May 17, 2022 · 0 comments · Fixed by Azure/azure-sdk-for-net#29033 or #2290
Closed
Assignees
Labels
blocking-release Blocks release Client This issue points to a problem in the data-plane of the library. DPG/RLC v1.0 DPG v3 Version 3 of AutoRest C# generator.

Comments

@pshao25
Copy link
Member

pshao25 commented May 17, 2022

We have below code (full version):

Operation<BinaryData> result = await new DPGClient(Key, host, null).LroAsync(WaitUntil.Started, "raw");
await result.WaitForCompletionAsync();

According to #2233 (comment):

Expected behavior: we should have scope DPGClient.Lro.WaitForCompletion
Actual behavior: now we have scope DPGClient.Lro.UpdateStatus

Root cause:
We return LowLevelFuncOperation which has OperationInternalBase inside with only _updateStatusScopeName (no _waitForCompletionScopeName as what ConvertOperation does)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking-release Blocks release Client This issue points to a problem in the data-plane of the library. DPG/RLC v1.0 DPG v3 Version 3 of AutoRest C# generator.
Projects
None yet
3 participants