Files
vibe-kanban/crates/remote/src
Louis Knight-WebbandClaude Opus 4.5 85e6ad398f Fix null field deserialization for update requests (#2312)
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>
2026-01-25 19:59:23 +00:00
..
2025-12-15 19:42:13 +00:00
2025-12-15 19:42:13 +00:00
2025-12-15 19:42:13 +00:00
2026-01-14 14:52:14 +00:00
2025-12-15 19:42:13 +00:00
2025-12-15 19:42:13 +00:00