-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] Move JSON converter attributes from centralized options into their respective types #16393
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
[dotnet] Move JSON converter attributes from centralized options into their respective types #16393
Conversation
… their respective types
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:
|
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.
Thanks. I am still don't know what to do with contextual converters (BiDi
instance in ctor).
@nvborisenko I have some ideas, I will implement shortly |
User description
This enables cross-module use of these types, as well as {de}serialization by users.
PR Type
Enhancement
Description
Move JSON converter attributes from centralized Broker to individual types
Enable cross-module serialization and user-facing deserialization
Add JsonConverter attributes to 20+ BiDi types
Remove converter registrations from centralized options
Diagram Walkthrough
File Walkthrough
20 files
Add JsonConverter attribute to ClientWindow
Add JsonConverter to GetClientWindowsResult
Add JsonConverter to GetUserContextsResult
Add JsonConverter to DownloadEndEventArgs
Add JsonConverter to GetTreeResult
Add JsonConverter to LocateNodesResult
Add JsonConverter attribute to Navigation
Add JsonConverter to PrintPageRange
Remove centralized JSON converter registrations
Add JsonConverter attribute to Origin
Add JsonConverter to SourceActions
Add JsonConverter attribute to LogEntry
Add JsonConverter attribute to Request
Add JsonConverter attribute to Channel
Add JsonConverter to EvaluateResult
Add JsonConverter to GetRealmsResult
Add JsonConverter attribute to RealmInfo
Add JsonConverter to RemoteValue
Add JsonConverter attribute to Subscription
Add JsonConverter to GetCookiesResult