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 problem of having big numbers in descriptor #29

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

danielfireman
Copy link
Collaborator

@danielfireman danielfireman commented Dec 1, 2021

Overview

Fixes a validation problem caused by a conversion of big numbers into scientific notation, which is then converted to float.

Please look at the reference issue for more details.

Fixes #28


cc/ @cuducos @cschloer


This change is Reviewable

@danielfireman danielfireman changed the title Fix-big-number Fix problem of having big numbers in descriptor Dec 1, 2021
Copy link

@cuducos cuducos left a comment

Choose a reason for hiding this comment

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

LGTM ✨
(and I just learned about is!)

@danielfireman danielfireman merged commit d15c67f into main Dec 3, 2021
@danielfireman danielfireman deleted the fix-big-number branch December 3, 2021 13:39
@cschloer
Copy link

cschloer commented Dec 4, 2021

The code looks good! Thanks for the quick fix.

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.

Datapackage doesn't validate if parsing a large integer (eg: bytes)
3 participants