diff --git a/node-graph/interpreted-executor/src/dynamic_executor.rs b/node-graph/interpreted-executor/src/dynamic_executor.rs index 55125e056b..2d50d8d829 100644 --- a/node-graph/interpreted-executor/src/dynamic_executor.rs +++ b/node-graph/interpreted-executor/src/dynamic_executor.rs @@ -197,7 +197,7 @@ impl DynamicExecutor { let edge = self .tree .get_by_path(node_path) - .and_then(SourceHandle::record_edge) + .and_then(SourceHandle::record_source) .ok_or_else(|| IntrospectError::PathNotFound(node_path.to_vec()))?; let arena = self.arena.lock().unwrap_or_else(PoisonError::into_inner); let persistent = self.persistent.lock().unwrap_or_else(PoisonError::into_inner); diff --git a/node-graph/libraries/core-types/src/registry.rs b/node-graph/libraries/core-types/src/registry.rs index 5538986e37..2e34f8e00c 100644 --- a/node-graph/libraries/core-types/src/registry.rs +++ b/node-graph/libraries/core-types/src/registry.rs @@ -263,9 +263,9 @@ impl SourceHandle { self.downcast_erased(record_edge_type::()) } - /// The erased record edge, for callers that dispatch on the layout rather - /// than a static element type. `None` for an edge erased to another node type. - pub fn record_edge(self) -> Option> { + /// The erased record source, for callers that dispatch on the layout rather + /// than a static element type. `None` for a source erased to another node type. + pub fn record_source(self) -> Option> { self.node.downcast::>().ok().map(|edge| *edge) }