Open azure-sdk opened 1 year ago
Azure.Core:
Response on RequestFailedException Api View - https://apiview.dev/Assemblies/Review/73b41ac08d194044a311def8eda66152/bcf55fa93bda4f87b9d4fa2d438783fb?diffRevisionId=f713231db5624bf2bbb6d3cd6b887eb6&doc=False&diffOnly=True
Azure.Core:
@annelo-msft, what did you have to do to enable casting of the dynamic
object to any CLR POCO type? Was there a particular interface you had to implement to make that work (+ reflection), because the only "cast" operators I see are to the basic .NET primitive types:
https://github.com/Azure/azure-sdk-for-net/blob/a071c587530d5b49d12a57f697a287774086c364/sdk/core/Azure.Core/samples/DynamicContent.md#cast-to-a-poco-type
https://github.com/Azure/azure-sdk-for-net/blob/e07f1f6c627f1aebc139d9c7f83ec8840096eca1/sdk/core/Azure.Core/api/Azure.Core.netstandard2.0.cs#L59-L69
@ahsonkhan, DynamicData implements IDynamicMetaObjectProvider
. The DLR invokes BindConvert() when a cast operator is used, and in DynamicData, we call through to the ConvertTo<T>()
method for POCOs.
Edit: Left comment on APIView instead.
New SDK Review meeting has been requested.
Service Name: Azure SDK Review Created By: Anne Loomis Thompson Review Date: 05/02/2023 02:05 PM PT
Hero Scenarios Link: Not Provided Architecture Diagram Link: Not Provided Core Concepts Doc Link: Not Provided APIView Links:
Description: Combined session for Azure.Core and Event Grid System Events for May release
Detailed meeting information and documents provided can be accessed here