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

Fix duration marshal, unmarshall functions #378

Merged
merged 2 commits into from
Dec 29, 2024

Conversation

illia-li
Copy link

Changes:

  1. Unmarshalling into int64, custom int64, time.Duration, string and custom string was unsupported before, now is supported.
  2. Marshalling are custom string, custom int64 was unsupported before, now is supported.
  3. Unmarshalling broken data does not return an error before, now returns an error.
  4. Unmarshalling big data does not return an error before, now returns an error.

@illia-li illia-li force-pushed the il/fix/marshal/duration branch from 8ec91c8 to 97fd1f7 Compare December 24, 2024 22:11
Changes:
1. Unmarshalling into `int64`,`custom int64`,`time.Duration`,`string` and `custom string`, was unsupported before, now is supported.
2. Marshalling are `custom string`, `custom int64` was unsupported before, now is supported.
3. Unmarshalling `broken data` does not return an error before, now returns an error.
@illia-li illia-li force-pushed the il/fix/marshal/duration branch from 97fd1f7 to b977347 Compare December 29, 2024 07:28
@dkropachev dkropachev merged commit daef54f into scylladb:master Dec 29, 2024
2 checks passed
@illia-li illia-li deleted the il/fix/marshal/duration branch January 11, 2025 20:33
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

Successfully merging this pull request may close these issues.

2 participants