From b079ec9c2c86fd012bf81d29957f1fa03ff58ebe Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Thu, 30 Jul 2026 11:26:12 +0000 Subject: [PATCH] Migrate legacy document call arguments to the context call convention --- node-graph/graph-craft/src/document.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node-graph/graph-craft/src/document.rs b/node-graph/graph-craft/src/document.rs index bff579d6a5..838dc5fea3 100644 --- a/node-graph/graph-craft/src/document.rs +++ b/node-graph/graph-craft/src/document.rs @@ -1208,7 +1208,9 @@ fn migrate_call_argument<'de, D: serde::Deserializer<'de>>(deserializer: D) -> R Old(Option), } + // TODO: Eventually remove this migration document upgrade code Ok(match CallArg::deserialize(deserializer)? { + CallArg::New(Type::Concrete(descriptor)) if descriptor.name.ends_with("OwnedContextImpl>>") => concrete!(Context), CallArg::New(ty) => ty, CallArg::Old(ty) => ty.unwrap_or_default(), })