You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sdkContext.arm from TCGC would be false in this case.
PS: we cannot add @armProviderNamespace("Microsoft.AVS") on namespace in client.tsp, it would cause error
error: @azure-tools/typespec-azure-resource-manager/single-arm-provider - Only one @armProviderNamespace can be declared in a typespec spec at once. @ C:/github/azure-sdk-for-java/sdk/avs/azure-resourcemanager-avs/TempTypeSpecFiles/Microsoft.AVS/client.tsp
weidongxu-microsoft
changed the title
[Bug]: [TCGC] client customization in client.tsp for ARM does not have sdkContext.arm=true
[Bug]: [TCGC][ARM] client customization in client.tsp for ARM does not have sdkContext.arm=true
Jun 21, 2024
Describe the bug
Use case https://gist.github.com/weidongxu-microsoft/fa420c35cf0611a62a8d155771dd3425?permalink_comment_id=5095904#gistcomment-5095904
Customization in client.tsp for ARM would start with
sdkContext.arm
from TCGC would be false in this case.PS: we cannot add
@armProviderNamespace("Microsoft.AVS")
on namespace in client.tsp, it would cause errorReproduction
Use client.tsp like https://gist.github.com/weidongxu-microsoft/fa420c35cf0611a62a8d155771dd3425?permalink_comment_id=5095904#gistcomment-5095904 in https://github.com/Azure/azure-rest-api-specs/tree/main/specification/vmware/Microsoft.AVS
Checklist
The text was updated successfully, but these errors were encountered: