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

Bugfix for culture invariant decimal types #423

Merged
merged 5 commits into from
Dec 6, 2023
Merged

Bugfix for culture invariant decimal types #423

merged 5 commits into from
Dec 6, 2023

Conversation

axnetg
Copy link
Contributor

@axnetg axnetg commented Dec 4, 2023

Fixes #418.

This PR solves an issue related to serialization of decimal types (float, double, and decimal) in cultures where the dot is not the decimal number separator, causing updates and some queries to behave inconsistently. I also noticed that aggregations were also affected by this problem, so this fixes that as well.

@slorello89
Copy link
Member

Hi @axnetg - can you do one more merge with main - seems I don't have permission to push to your branch :). Should fix the build issues.

Copy link
Member

@slorello89 slorello89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @axnetg - yeah sorry there was a breaking change in 0.6.0 (basically the core Execute method now accepts an array of objects rather than an array of strings, so all these setup bits need to be updated.

Copy link
Member

@slorello89 slorello89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 thanks for the submission @axnetg

@slorello89 slorello89 merged commit d43d4b2 into redis:main Dec 6, 2023
1 check passed
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.

Incorrect behavior when updating decimal values
2 participants