astarte-platform / astarte

Core Astarte Repository
https://docs.astarte-platform.org/
Apache License 2.0
236 stars 45 forks source link

Add support for double values in payload cast #921

Closed eddbbt closed 3 months ago

eddbbt commented 3 months ago

Add cast to double in case of update of a server owned property, before sending data to device

Resolves first and second part of https://github.com/astarte-platform/astartectl/issues/239

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 68.65%. Comparing base (dab9883) to head (7a4a5be). Report is 2 commits behind head on release-1.0.

:exclamation: Current head 7a4a5be differs from pull request most recent head 908b237. Consider uploading reports for the commit 908b237 to get more accurate results

Files Patch % Lines
...ine_api/lib/astarte_appengine_api/device/device.ex 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-1.0 #921 +/- ## =============================================== + Coverage 60.50% 68.65% +8.14% =============================================== Files 86 247 +161 Lines 785 5555 +4770 =============================================== + Hits 475 3814 +3339 - Misses 310 1741 +1431 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.