-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] Replace stateful BiDi converters with thread-static BiDi instance #16675
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
base: trunk
Are you sure you want to change the base?
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:
|
|||||||||
|
I think we already resolved it. |
User description
Proposal to replace stateful converters with a thread-static BiDi instance
🔗 Related Issues
💥 What does this PR do?
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Replace stateful converter instances with thread-static BiDi reference
Remove BiDi constructor parameters from all JSON converters
Add
[JsonConverter]attributes to domain model classesSet thread-static BiDi during deserialization in Broker
Diagram Walkthrough
File Walkthrough
19 files
Remove stateful converter instances from JSON optionsAdd JsonConverter attribute to UserContext classAdd JsonConverter attribute to BrowsingContext classRemove BiDi parameter, use thread-static referenceRemove BiDi parameter, use thread-static referenceRemove BiDi parameter, use thread-static referenceRemove BiDi parameter, use thread-static referenceRemove BiDi parameter, use thread-static referenceRemove BiDi parameter, use thread-static referenceRemove BiDi parameter, use thread-static referenceRemove BiDi parameter, use thread-static referenceRemove BiDi parameter, use thread-static referenceAdd JsonConverter attribute to Collector classAdd JsonConverter attribute to Intercept classAdd JsonConverter attribute to Handle classAdd JsonConverter attribute to InternalId classAdd JsonConverter attribute to PreloadScript classAdd JsonConverter attribute to Realm classAdd JsonConverter attribute to Extension class1 files
Add thread-static BiDi instance and setter logic