Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.26k stars 4.61k forks source link

[FEATURE REQ] [Tables] More direct deserialization #37197

Open wgebczyk opened 1 year ago

wgebczyk commented 1 year ago

Library name

Azure.Data.Tables

Please describe the feature.

Would be less CPU cycles and RAM if response stream could be passed to custom JSON Serializer that would handle final type creation and pushing data into object.

Context

As of now for example in case of GetEntityAsync<TableEntity> we get:

Proposal

Option to make call GetEntityAsync<MyEntity>(jsonSerializer, partitionKey, rowKey) and the following happen:

jsquire commented 1 year ago

Thank you for your feedback. Tagging and routing to the team member best able to assist.