Skip to content
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

#1548 - feature: recycle folder less duplication #1621

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

mloitzl
Copy link
Contributor

@mloitzl mloitzl commented Feb 28, 2025

No description provided.

@mloitzl
Copy link
Contributor Author

mloitzl commented Feb 28, 2025

The same as #1620 but with less duplication.

Introducing RecyclableBaseDataModel feels strange to reduce duplicated code, since all ExpandoBaseDataModel inherit Recycle capabilities, but only ListItem actually is able to be recycled.

I am not sure that there are others than File, Folder and List having recycle capabilities that could be inherited.

I don't know, @jansenbe should I further elaborate on that?

Actually I am not a fan of avoiding duplication at the cost of readability.

@mloitzl mloitzl changed the title Feature/recycle folder less duplication Feature: recycle folder less duplication Feb 28, 2025
@mloitzl mloitzl changed the title Feature: recycle folder less duplication #1548 - feature: recycle folder less duplication Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant