Closed Lorak-mmk closed 2 years ago
@piodul I fixed all issues pointed by you. Could you check if current tuple implementation is consistent with cpp-driver? I don't trust myself - I was sure it was correct before, but today it turned out to be wrong.
@piodul could you help @Lorak-mmk with tuples question?
@Lorak-mmk I'm not too familiar with the cpp-driver's logic, but from what I managed to understand, your current logic checks out. In the future, it would be worthwhile to write differential tests in order to help enforce the same behavior as in the cpp-driver.
Fixed. I had to use global variable to handle cass_tuple_data_type
for tuples created by cass_tuple_new
@piodul
Based on https://github.com/hackathon-rust-cpp/cpp-rust-driver/pull/58 Implements CassDataType Implements CassUserType, CassTuple and all bindings related to them, using new macros.