-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Make UrlPattern as not nested
#15434
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:
|
||||||||||||||
RenderMichael
left a comment
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.
Looking nice.
Small request, unrelated to changes.
User description
Motivation and Context
Contributes to #15407
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Refactored
UrlPatternto use non-nested types for better extensibility.Updated
UrlPatternderived types toPatternUrlPatternandStringUrlPattern.Adjusted test cases to use the new non-nested
UrlPatterntypes.Removed nested DTO type usage in
BiDiJsonSerializerContext.Changes walkthrough 📝
BiDiJsonSerializerContext.cs
Removed nested `UrlPattern.String` serializationdotnet/src/webdriver/BiDi/Communication/Json/BiDiJsonSerializerContext.cs
JsonSerializableattribute for nestedUrlPattern.Stringtype.reference.
UrlPattern.cs
Refactored `UrlPattern` to non-nested derived typesdotnet/src/webdriver/BiDi/Modules/Network/UrlPattern.cs
UrlPatternto use non-nested derived types.PatterntoPatternUrlPatternandStringtoStringUrlPattern.StringUrlPattern.NetworkTest.cs
Updated tests for non-nested `UrlPattern` typesdotnet/test/common/BiDi/Network/NetworkTest.cs
PatternUrlPatternandStringUrlPattern.UrlPatterntypes with new non-nestedtypes.