Skip to content

Add Internal Helper for Deserializing Subclasses #4358

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

Closed
wants to merge 3 commits into from

Conversation

Bibo-Joshi
Copy link
Member

Closes #4346

TBF, this is more clumsy than I had hoped, but if TG continues with the pattern of subclasses it should still save some duplication.

It's a +0 from my side. If you find the logic hard to follow and think that it makes debugging harder, I'm okay with rejecting.

@Bibo-Joshi Bibo-Joshi requested a review from harshil21 July 8, 2024 08:58
@Bibo-Joshi Bibo-Joshi force-pushed the de_json_subclasses branch from 5a20139 to dc8604f Compare July 8, 2024 09:02
Copy link
Member

@harshil21 harshil21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh.. looks like it became much more complicated with very little to no benefit.. (LoC is also greater). I also propose to scrap.

@Bibo-Joshi
Copy link
Member Author

Fair enough. I'll close and just open a new PR to add the test to menubutton :)

@Bibo-Joshi Bibo-Joshi closed this Jul 9, 2024
@Bibo-Joshi Bibo-Joshi deleted the de_json_subclasses branch July 9, 2024 08:04
@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] New TO.de_json_subclasses method for parent classes
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy