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

Max Integer Size #139

Open
symbiosdotwiki opened this issue Mar 6, 2022 · 1 comment
Open

Max Integer Size #139

symbiosdotwiki opened this issue Mar 6, 2022 · 1 comment

Comments

@symbiosdotwiki
Copy link

I am noticing a problem with long integers (in my case ID numbers from flickr) which when they are imported with gray matter they are incorrect. I assume this is due to floating point error.

A typical flickr API number is 72157688988508171 which is then cast to 72157688988508180

This is easy enough to avoid by adding string quotes to the ID but perhaps gray matter should detect these cases and properly cast to string or something?

@symbiosdotwiki
Copy link
Author

Is it possible to set the "type" of different YAML parameters in javascript (not typescript) so as to avoid this? Or to tell matter to interpret all parameters as strings?

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

No branches or pull requests

1 participant