Store Input for Monitor Nodes (#1454)

* Add input storage to monitor_node

* Return input via serialize function
This commit is contained in:
Dennis Kobert 2023-11-14 21:17:50 +01:00 committed by GitHub
parent 58660f5548
commit 81519601ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 51 additions and 32 deletions

View file

@ -5,7 +5,6 @@ pub mod node_registry;
mod tests {
use graph_craft::document::value::TaggedValue;
use graphene_core::*;
use std::borrow::Cow;
use futures::executor::block_on;
@ -95,7 +94,7 @@ mod tests {
0,
DocumentNode {
name: "id".into(),
inputs: vec![NodeInput::ShortCircut(concrete!(u32))],
inputs: vec![NodeInput::Network(concrete!(u32))],
implementation: DocumentNodeImplementation::Unresolved(NodeIdentifier::new("graphene_core::ops::IdNode")),
..Default::default()
},