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

AppEngine: handle type casting for longinteger inputs #969

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

Hibe7
Copy link
Contributor

@Hibe7 Hibe7 commented Jul 3, 2024

Implemented cast_value/2 functions to support string input parsing for longinteger values and arrays in server-owned interfaces. This implementation enables parsing of string inputs into integers where necessary.

Fixes #967

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.05%. Comparing base (daa5cd7) to head (d8bfac8).
Report is 12 commits behind head on release-1.1.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.1     #969       +/-   ##
================================================
- Coverage        81.75%   68.05%   -13.71%     
================================================
  Files               70      281      +211     
  Lines             1721     7428     +5707     
================================================
+ Hits              1407     5055     +3648     
- Misses             314     2373     +2059     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Hibe7 Hibe7 changed the base branch from master to release-1.1 July 8, 2024 10:36
@Hibe7 Hibe7 changed the title Handle type casting for longinteger inputs AppEngine: handle type casting for longinteger inputs Jul 8, 2024
@Hibe7 Hibe7 requested a review from rbino July 9, 2024 07:06
Implemented `cast_value/2` functions to support string input parsing for `:longinteger` values and arrays in server-owned interfaces.

Signed-off-by: Ismet Softic <[email protected]>
@rbino rbino merged commit 738a0f1 into astarte-platform:release-1.1 Jul 9, 2024
28 of 29 checks passed
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.

longinteger values cannot receive a string input in server-owned interfaces
3 participants