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

unmarshall nil and zero decimal into inf.Dec unsupported #282

Open
illia-li opened this issue Sep 29, 2024 · 0 comments
Open

unmarshall nil and zero decimal into inf.Dec unsupported #282

illia-li opened this issue Sep 29, 2024 · 0 comments
Labels

Comments

@illia-li
Copy link

Currently if we try unmarshalls decimal with nil and zero value into inf.Dec - the unmarshall function return an error: inf.Dec needs at least 4 bytes, while value has only 0
According to cql protocol - for all types value can be nil and zero.
Therefore unmarshall function should support unmarshalls nil and zero value for all types.

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

No branches or pull requests

2 participants