Max Integer Size
symbiosdotwiki opened this issue · comments
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?
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?