Merge remote-tracking branch 'origin/project-pineapples' into MG-access-control-benchmark-fixes

This commit is contained in:
János Benjamin Antal 2023-02-06 08:18:25 +01:00
commit 7bf8550c86

View File

@ -676,11 +676,11 @@ class DistributedScanByPrimaryKeyCursor : public Cursor {
});
for (auto &result : get_prop_result) {
auto properties = result.props;
// TODO (gvolfing) figure out labels when relevant.
msgs::Vertex vertex = {.id = result.vertex, .labels = {}};
id_to_accessor_mapping_.emplace(result.vertex, VertexAccessor(vertex, properties, &request_router));
id_to_accessor_mapping_.emplace(result.vertex,
VertexAccessor(std::move(vertex), std::move(result.props), &request_router));
}
}