-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Make RealmInfo as not nested
#15444
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
RealInfo as not nestedRealmInfo as not nested
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
Replaced nested
RealmInfotypes with standalone types for better extensibility.Updated JSON serialization and deserialization to use new standalone
RealmInfotypes.Refactored test cases to align with the new
RealmInfotype structure.Improved code maintainability by removing nested type constraints.
Changes walkthrough 📝
BiDiJsonSerializerContext.cs
Update JSON serialization for standalone `RealmInfo` typesdotnet/src/webdriver/BiDi/Communication/Json/BiDiJsonSerializerContext.cs
RealmInfotypes with standalone types in JSONserialization attributes.
RealmInfotypes.RealmInfoConverter.cs
Update deserialization for standalone `RealmInfo` typesdotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RealmInfoConverter.cs
RealmInfotypes.RealmInfo.cs
Refactor `RealmInfo` nested types to standalone recordsdotnet/src/webdriver/BiDi/Modules/Script/RealmInfo.cs
RealmInfonested types into standalone types.RealmInfotype.RealmInfo.ScriptCommandsTest.cs
Update test cases for standalone `RealmInfo` typesdotnet/test/common/BiDi/Script/ScriptCommandsTest.cs
RealmInfotypes.ScriptEventsTest.cs
Update event tests for standalone `RealmInfo` typesdotnet/test/common/BiDi/Script/ScriptEventsTest.cs
RealmInfotypes.