can someone help understand why I am getting ``` e...
# development
f
can someone help understand why I am getting
Copy code
error[E0477]: the type `futures::Then<Box<futures::Future<Error=nodes::Failure, Item=core::Value> + std::marker::Send>, std::result::Result<core::Value, nodes::Failure>, [closure@src/rust/engine/src/nodes.rs:708:13: 713:8 context:&nodes::Context]>` does not fulfill the required lifetime
   --> src/rust/engine/src/nodes.rs:714:8
    |
714 |       .boxed()
    |        ^^^^^
    |
    = note: type must outlive the static lifetime

error: aborting due to previous error
for this code snippet
Copy code
fn get_dep2(&self, context: &Context, dep_subject: &Value) -> NodeFuture<Value> {
    let dep_subject_key = externs::key_for(dep_subject);
    context.get(
        Select::new(self.selector.product.clone(), dep_subject_key, self.variants.clone())
      )
      .then(move |output_res| {
        match output_res {
          Ok(output) => Ok(output),
          Err(failure) => Err(context.was_required(failure)),
        }
      })
      .boxed()
  }