Open m-nash opened 11 months ago
@m-nash, Is there an expectation of when this will be addressed and the model types will be linked up with [JsonConverter]
s? I've brought this up in various issues here for over a year now (like in https://github.com/Azure/azure-sdk-for-net/issues/25699#issuecomment-1363429831), but ResourceGraph returns a payload of a serialized list of resources (essentially IList<KeyVaultData>
instead of KeyVaultData
), and ModelReaderWriter can't currently handle that (AFAICT). Integrating with JsonConverter
would though, especially if the model types had the attribute on them (so I don't have to provide my own Options).
I just noticed this because Azure.ResourceManager.KeyVault
shipped a stable update with the new model serialization/deserialization in it, and I was sad that it still can't meet my needs (again, AFAICT). 😞
@m-nash, has this issue been completed now that JsonModelConverter has shipped in SCM?
Library name
System.ClientModel
Please describe the feature.
For the initial release we are making JsonModelConverter internal. The following discussion needs to be resolved before we make it public again. https://github.com/Azure/azure-sdk-for-net/pull/40766#discussion_r1425870473