mirror of
https://github.com/BloopAI/vibe-kanban.git
synced 2026-11-23 23:10:32 +00:00
Serde's default Option<Option<T>> deserialization cannot distinguish between JSON null and field omission - both result in None. This caused issues where setting a nullable field to null (e.g., deleting all description text) would be ignored instead of persisting. Added a custom deserializer that wraps present values in Some(), combined with #[serde(default)] to distinguish: - Field absent from JSON → None (don't update) - Field present with null → Some(None) (set to NULL) - Field present with value → Some(Some(value)) (set to value) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>