Closed XiaofeiCao closed 1 month ago
ArmResource is deprecated but not removed. Do we still need this till it get removed?
ArmResource is deprecated but not removed. Do we still need this till it get removed?
I searched current specs repo, seems (Arm)Resource is only used in template parameters as ArmResource
in our test, seems ok.
(Arm)Resource is used as base model for all Tracked/Proxy/ExtensionResource(Base). I guess service is not allowed to let its models directly extend ArmResource
, otherwise it'll break JS and Python..
Offline sync with Chenjie, service will not use ArmResource
for green field. For brownfields, there exists cases where model directly extends Resource, and will be converted to Resource
in tsp, still no ArmResource
. And existing ArmResource
will be fixed to Resource
.
typespec-azure-resource-manager
has fixed the naming issue: https://github.com/Azure/typespec-azure/pull/762 Our special handling forResource
,ProxyResource
andArmResource
is no longer needed.