commit 773fafee9c76dc23f6c9e50c6e1059ebc499f30f from: Murilo Ijanc date: Sun Apr 26 02:55:19 2026 UTC Tolerate orphan null entries in Epic.project_ids commit - d944684a06594ea8d990811812d3c032ffc8d05c commit + 773fafee9c76dc23f6c9e50c6e1059ebc499f30f blob - 33460cae6229af937a227be083fa490c839e56a3 blob + 352429ad1607307324ad53246b074b6a77f046b7 --- shortcut_sdk.rs +++ shortcut_sdk.rs @@ -428,7 +428,13 @@ json_struct! { pub milestone_id: Option, pub group_id: Option, pub group_ids: Vec, - pub project_ids: Vec, + // Shortcut leaves orphan refs (deleted projects) in this array as + // bare `null` entries — `[11519, null, 90, ...]`. Modeled as + // Vec> so the decoder accepts those nulls and the type + // honestly says "an entry may be a dead reference". Consumers that + // only want live IDs can `.iter().flatten()`. EpicSlim below + // mirrors this. + pub project_ids: Vec>, pub objective_ids: Vec, pub label_ids: Vec, pub labels: Vec, @@ -484,7 +490,7 @@ json_struct! { pub milestone_id: Option, pub group_id: Option, pub group_ids: Vec, - pub project_ids: Vec, + pub project_ids: Vec>, pub objective_ids: Vec, pub label_ids: Vec, pub labels: Vec,