https://pantsbuild.org/ logo
#development
Title
# development
f

full-kilobyte-93429

03/20/2017, 6:16 PM
nm, works now, confusion was from
&
Copy code
let address = address.clone();
+    let field_name = self.selector.field.to_owned();
     let dep_subject_key = externs::key_for(&address);
     context
       .get(
         Select::new(self.selector.product.clone(), dep_subject_key, self.variants.clone())
       )
       .map(move |hydrated_target| {
-        //let field = &self.selector.field.to_owned();
-        let deps = externs::project_multi(&hydrated_target, "dependencies");
+        let deps = externs::project_multi(&hydrated_target, &field_name);
         (address, hydrated_target, deps)
       })
       .boxed()
2 Views