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.23k stars 4.58k forks source link

[FEATURE REQ] consider making Azure.Core.Utf8RequestContent public #43809

Open cataggar opened 4 months ago

cataggar commented 4 months ago

Library name

Azure.Core

Please describe the feature.

In March, Utf8JsonRequestContent.cs was duplicated many many times in this PR because it is internal in Azure.Core. Before this PR, it was in the Autorest shared code. I too need to duplicate it in our internal code. Please consider making it public.

Related issues:

jsquire commented 4 months ago

Hi @cataggar. Thanks for reaching out and for your suggestion. We'll take this under advisement and provide an update when a decision has been reached.

jsquire commented 4 months ago

//cc: @annelo-msft

annelo-msft commented 4 months ago

@cataggar - yes. We are tracking the migration of shared source types to public types with https://github.com/Azure/azure-sdk-for-net/issues/43760. This specific one will likely look different as we proceed with that migration work as we now have a content-writing story centered around the ModelReaderWriter types in System.ClientModel. Thanks for flagging this one and keep an eye on that issue to track progress in this space. Thanks!

annelo-msft commented 3 months ago

@cataggar, would you be willing to share the specific use case you have that motivates your need for this feature? Thanks!