-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Avoid BiDi type in EventArgs ctor for unnecessary metadata generation #16667
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 Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
💥 What does this PR do?
Now STJ doesn't generate metadata for
BiDitype.💡 Additional Considerations
It still doesn't resolve AOT trimming, but good step forward.
🔄 Types of changes
PR Type
Enhancement
Description
Remove
BiDiparameter from EventArgs constructors to reduce metadata generationUpdate all BiDi event classes to avoid unnecessary type references
Refactor
InterceptedRequest,InterceptedResponse, andInterceptedAuthto use internal constructorsImprove AOT compatibility by eliminating BiDi type from serialization metadata
Diagram Walkthrough
File Walkthrough
19 files
Remove BiDi parameter from base EventArgs classesRemove BiDi parameter from BrowsingContextInfo recordRemove BiDi parameter from download event recordsRemove BiDi parameter from download begin eventRemove BiDi parameter from history eventRemove BiDi parameter from navigation eventRemove BiDi parameter from user prompt eventRemove BiDi parameter from user prompt opened eventRemove BiDi parameter from log entry recordsRemove BiDi parameter from auth required eventRemove BiDi parameter from base network eventRemove BiDi parameter from request eventRemove BiDi parameter from fetch error eventRefactor intercepted classes to use internal constructorsRemove BiDi parameter from response completed eventRemove BiDi parameter from response started eventRemove BiDi parameter from message eventRemove BiDi parameter from realm destroyed eventRemove BiDi parameter from realm info records