Skip to content

Extract task reading and writing from Task data class#176

Merged
sunkup merged 3 commits intomainfrom
task-reader-writer
Feb 2, 2026
Merged

Extract task reading and writing from Task data class#176
sunkup merged 3 commits intomainfrom
task-reader-writer

Conversation

@sunkup
Copy link
Member

@sunkup sunkup commented Jan 29, 2026

Similar to #41 (for calendar)

Required for bitfireAT/davx5-ose#1959

Task is a data class and as such it shouldn't have hidden logic. This PR extracts reading/writing Tasks into respective classes. No logic has been changed.

In a later stage of refactoring, we will be able to completely remove the Task class and map directly between iCalendar ↔ Task provider data rows.

@sunkup sunkup force-pushed the task-reader-writer branch from 49dcccc to 89e4813 Compare February 2, 2026 12:41
@sunkup sunkup marked this pull request as ready for review February 2, 2026 12:50
@sunkup sunkup requested a review from rfc2822 as a code owner February 2, 2026 12:50
Copy link
Member

@rfc2822 rfc2822 left a comment

Choose a reason for hiding this comment

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

As this doesn't change logic, it should be quite safe.

@sunkup sunkup merged commit a2eada8 into main Feb 2, 2026
7 checks passed
@sunkup sunkup deleted the task-reader-writer branch February 2, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Quality improvement of existing functions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants