Deserialization refactor: macros for the new traits
wprzytula opened this issue · 1 comments
wprzytula commented
Sub-task of #961.
The new DeserializeRow
and DeserializeCql
traits will need to have their corresponding procedural macros implemented.
Lorak-mmk commented
Note: It would be good to support #[scylla(skip)]
attribute (currently used by serialization macros). We could either require the field to implement Default
or provide default value in attribute (I think first option makes more sense).
Example use case: https://forum.scylladb.com/t/how-to-ignore-field-in-rust-struct/1419