diff --git a/phlex/core/graph_proxy.hpp b/phlex/core/graph_proxy.hpp index add8dbb2..b67d26fc 100644 --- a/phlex/core/graph_proxy.hpp +++ b/phlex/core/graph_proxy.hpp @@ -84,9 +84,12 @@ namespace phlex::experimental { auto unfold(std::string name, is_predicate_like auto pred, auto unf, - concurrency c = concurrency::serial) + concurrency c = concurrency::serial, + std::string destination_data_layer = "") { - return create_glue(false).unfold(std::move(name), std::move(pred), std::move(unf), c); + return glue{graph_, nodes_, nullptr, errors_, config_}.unfold( + std::move(name), std::move(pred), std::move(unf), c, + std::move(destination_data_layer)); } auto output(std::string name, is_output_like auto f, concurrency c = concurrency::serial)