-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Make BytesValue not nested
#15433
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
Motivation and Context
Contributes to #15407
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Refactored
BytesValueto use non-nested types for better extensibility.Updated references to
BytesValue.StringandBytesValue.Base64toStringBytesValueandBase64BytesValue.Adjusted test cases to align with the new
BytesValuestructure.Removed unnecessary nested type serialization in
BiDiJsonSerializerContext.Changes walkthrough 📝
BiDiJsonSerializerContext.cs
Removed nested type serialization for `BytesValue`dotnet/src/webdriver/BiDi/Communication/Json/BiDiJsonSerializerContext.cs
BytesValue.Stringfrom JSON serialization.reference.
BytesValue.cs
Refactored `BytesValue` to non-nested typesdotnet/src/webdriver/BiDi/Modules/Network/BytesValue.cs
BytesValue.StringtoStringBytesValue.BytesValue.Base64toBase64BytesValue.StringBytesValue.NetworkEventsTest.cs
Updated network event tests for `BytesValue` changesdotnet/test/common/BiDi/Network/NetworkEventsTest.cs
StringBytesValueinstead ofBytesValue.String.BytesValuestructure.StorageTest.cs
Updated storage tests for `BytesValue` changesdotnet/test/common/BiDi/Storage/StorageTest.cs
StringBytesValueinstead ofBytesValue.String.BytesValuestructure.