-
Notifications
You must be signed in to change notification settings - Fork 5
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
pass through gap data (target/met) values with rounding to 4 decimal digits [MRXN23-601] #1667
pass through gap data (target/met) values with rounding to 4 decimal digits [MRXN23-601] #1667
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@andresgnlez thank you for reviewing the tiny changes in this PR. I have checked the way this works and it all looks ok - one thing I should mention is that because of reasons, the ORM gives us these values as numbers-in-a-string now (basically, because the possible precision of the db types for these values may not "fit" within JS numeric types) -- so while this "works", I wanted to make you aware of this in case you can think of any possible caveats/edge cases with this. Or maybe I should "just" re-cast these numbers-in-a-string to proper JS numbers in the API, and avoid getting numbers in weird formats to API clients to start with... I'd do this next week |
@hotzevzl happy to test this once is available in m23 instance, AFAIK the change is exclusive of the |
@andresgnlez I have just added a cast back from number-as-string to actual JS number via |
https://vizzuality.atlassian.net/browse/MRXN23-601