[mgmt][typespec migration] as_dict
behavior change for hierarchy model
#41398
Labels
Content-Length: 253153 | pFad | http://github.com/Azure/azure-sdk-for-python/issues/41398
EFas_dict
behavior change for hierarchy model
#41398
Fetched URL: http://github.com/Azure/azure-sdk-for-python/issues/41398
Alternative Proxies:
Uh oh!
There was an error while loading. Please reload this page.
When try to migrate
azure-mgmt-avs
from swagger to typespec, I find the following breakings for hierarchy model:We can see there are 3 breakings:
keep_readonly
is renamed toexclude_readonly
with reverse meaningsnake_case
tocamelCase
as_dict
hide the hierarchy structure to follow model structure while newas_dict
respect the hierarchy structure to keep consistent with REST API layer.The text was updated successfully, but these errors were encountered: