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

Wrote proper number conversion logic #553

Merged
merged 2 commits into from
Sep 14, 2021
Merged

Wrote proper number conversion logic #553

merged 2 commits into from
Sep 14, 2021

Conversation

Hydrocharged
Copy link
Contributor

Previously we were relying on the cast library, which had a few issues with how we expect SQL numbers to function. One such issue was how number strings were handled (such as interpreting "01000" as a binary number rather than in decimal). There have been more issues in the past that have gone undocumented, but this should fix them (or allow for an easy fix since it's all custom logic now).

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

LGTM

Isn't there a dependency we can remove from our go.mod now?

@Hydrocharged
Copy link
Contributor Author

The mod has been tidied

@Hydrocharged Hydrocharged merged commit 9c29a8f into master Sep 14, 2021
@Hydrocharged Hydrocharged deleted the daylon/int-fix branch September 14, 2021 23:46
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