Skip to content

Add serde feature to allow reuse of some value types directly. #1331

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

Open
didoloan opened this issue Apr 21, 2025 · 2 comments
Open

Add serde feature to allow reuse of some value types directly. #1331

didoloan opened this issue Apr 21, 2025 · 2 comments

Comments

@didoloan
Copy link

Hello,

It would be very useful to have serde's Serialize and Deserialize traits derived for some Cql value types like CqlDuration and Counter.

I could make a pull request with an implementation. I would would like to hear other opinions on this. Maybe I'm the only one seeing this as an issue.

@Lorak-mmk
Copy link
Collaborator

Related: #748

@Sokom141
Copy link

Sokom141 commented May 6, 2025

I second this.
It would be really useful to use serde on these types. Unfortunately the derive for the remote types as discussed in #748 is not always the most ergonomic thing to do (for example if you do it on a type that is also wrapped in an Option) so the best thing would be having this feature available.

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

No branches or pull requests

4 participants