-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[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
BytesValue
to use non-nested types for better extensibility.Updated references to
BytesValue.String
andBytesValue.Base64
toStringBytesValue
andBase64BytesValue
.Adjusted test cases to align with the new
BytesValue
structure.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.String
from JSON serialization.reference.
BytesValue.cs
Refactored `BytesValue` to non-nested types
dotnet/src/webdriver/BiDi/Modules/Network/BytesValue.cs
BytesValue.String
toStringBytesValue
.BytesValue.Base64
toBase64BytesValue
.StringBytesValue
.NetworkEventsTest.cs
Updated network event tests for `BytesValue` changes
dotnet/test/common/BiDi/Network/NetworkEventsTest.cs
StringBytesValue
instead ofBytesValue.String
.BytesValue
structure.StorageTest.cs
Updated storage tests for `BytesValue` changes
dotnet/test/common/BiDi/Storage/StorageTest.cs
StringBytesValue
instead ofBytesValue.String
.BytesValue
structure.