-
Notifications
You must be signed in to change notification settings - Fork 5k
Remove Utf8JsonWriterExtensions.WriteObjectValue extension method #50509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…lementTests.cs Co-authored-by: Copilot <[email protected]>
…mentJsonConverter.cs Co-authored-by: Copilot <[email protected]>
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
}; | ||
|
||
[Test, TestCaseSource("ObjectCases")] | ||
public static void WriteObjectValue (object value, string expectedJson) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation is removed in this PR, remove the test as well
pending on #50447 |
sdk/core/Azure.Core.Expressions.DataFactory/src/DataFactoryElement.Serialization.cs
Outdated
Show resolved
Hide resolved
@@ -55,7 +55,7 @@ public static RequestContent FromDictionary<T>(IDictionary<string, T> dictionary | |||
foreach (var item in dictionary) | |||
{ | |||
content.JsonWriter.WritePropertyName(item.Key); | |||
content.JsonWriter.WriteObjectValue(item.Value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a test usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file has been generated for each RP, the only usage is in test, move it to test project.
Resolves #50508