Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserialization refactor: macros for the new traits #962

Open
Tracked by #961
wprzytula opened this issue Mar 19, 2024 · 1 comment
Open
Tracked by #961

Deserialization refactor: macros for the new traits #962

wprzytula opened this issue Mar 19, 2024 · 1 comment
Assignees

Comments

@wprzytula
Copy link
Collaborator

wprzytula commented Mar 19, 2024

Sub-task of #961.

The new DeserializeRow and DeserializeCql traits will need to have their corresponding procedural macros implemented.

@Lorak-mmk
Copy link
Collaborator

Lorak-mmk commented Mar 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants