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

Fix parsing of Number arrays #503

Conversation

mrashed-dev
Copy link
Collaborator

Description

This PR closes #502. The parsing of number arrays was broken, setting the index instead of the value when desearializing.

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

mrashed-dev and others added 2 commits November 21, 2023 14:09
Credits to @victorigualada

Co-Authored-By: victorigualada <21220224+victorigualada@users.noreply.github.com>
Co-Authored-By: victorigualada <21220224+victorigualada@users.noreply.github.com>
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cb42d16) 91.70% compared to head (06065ea) 91.70%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #503   +/-   ##
=======================================
  Coverage   91.70%   91.70%           
=======================================
  Files          62       62           
  Lines        2641     2641           
  Branches      481      481           
=======================================
  Hits         2422     2422           
  Misses        218      218           
  Partials        1        1           

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

@mrashed-dev mrashed-dev merged commit 182e6cc into main Nov 21, 2023
4 checks passed
@mrashed-dev mrashed-dev deleted the 502-availability-openhours-badly-parsed-causing-only-monday-data branch November 21, 2023 22:47
@mrashed-dev mrashed-dev mentioned this pull request Nov 28, 2023
mrashed-dev added a commit that referenced this pull request Nov 29, 2023
# Changelog
* Add support for logging (#508, #456)
* Nullify replyToMessageId is an empty string (#484, #509)
* Nullify visibility if visibility is an empty string (#507, #470)
* Fix numbers defaulting to 0 instead of null (#469)
* Fix parsing of Number arrays (#503, #502)
* Fix configured timeout not being used (#506, #489)
* Bump `node-fetch` dependency from 2.6.1 to 2.6.12 (#504, #496)
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.

/availability openHours badly parsed causing only Monday data
2 participants