Skip to content

Conversation

@lefcha
Copy link
Collaborator

@lefcha lefcha commented Jan 22, 2026

Fixes Meta model to allow None values in project, section, and assignee tuple fields, matching the actual quick add API response.

@lefcha lefcha requested a review from goncalossilva January 22, 2026 16:58
@lefcha lefcha requested a review from a team as a code owner January 22, 2026 16:58
@lefcha lefcha requested review from lukemerrett and removed request for a team January 22, 2026 16:58
@lefcha lefcha self-assigned this Jan 22, 2026
@lefcha lefcha merged commit 47ad768 into main Jan 22, 2026
5 checks passed
@lefcha lefcha deleted the lefteris/quick-add branch January 22, 2026 16:58
@goncalossilva
Copy link
Member

👍

How can this happen?

@lefcha
Copy link
Collaborator Author

lefcha commented Jan 23, 2026

@goncalossilva What do you mean?

For starters, in the backend code in the return values we might return None.

Then IIRC, the project is populated if the #<project> has been specified and it could be found, otherwise it's empty and it's assumed that the task in the Inbox. The same holds for section and assignee.

Now if you're wondering why we need this now, I think it's related to some update that took place in dataclass-wizard in 0.39.0 relating to how None values are handled, but I didn't investigate further. The fact that the backend can return these values was enough.

@proxi proxi mentioned this pull request Jan 23, 2026
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.

3 participants