-
-
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 ClientWindowAdd JsonConverter to GetClientWindowsResultAdd JsonConverter to GetUserContextsResultAdd JsonConverter to DownloadEndEventArgsAdd JsonConverter to GetTreeResultAdd JsonConverter to LocateNodesResultAdd JsonConverter attribute to NavigationAdd JsonConverter to PrintPageRangeRemove centralized JSON converter registrationsAdd JsonConverter attribute to OriginAdd JsonConverter to SourceActionsAdd JsonConverter attribute to LogEntryAdd JsonConverter attribute to RequestAdd JsonConverter attribute to ChannelAdd JsonConverter to EvaluateResultAdd JsonConverter to GetRealmsResultAdd JsonConverter attribute to RealmInfoAdd JsonConverter to RemoteValueAdd JsonConverter attribute to SubscriptionAdd JsonConverter to GetCookiesResult