-
-
Notifications
You must be signed in to change notification settings - Fork 596
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: Parse.Object.get
returns array instead of object if key name is number-like
#2201
Conversation
Thanks for opening this pull request! |
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
@mtrezza this fix would return wrong output e.g.
|
An index of 0 is not required for an array to be an array. See #2198 (comment). |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## alpha #2201 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 61 64 +3
Lines 6186 6358 +172
Branches 1499 1528 +29
==========================================
+ Hits 6186 6358 +172 ☔ View full report in Codecov by Sentry. |
@dplewis anything else that should be removed from the changes in https://github.com/parse-community/Parse-SDK-JS/pull/2120/files? Or can we merge |
Thats it, this is ready to merge |
Parse.Object.get
returns array instead of object value if key name is number-like
Parse.Object.get
returns array instead of object value if key name is number-likeParse.Object.get
returns array instead of object if key name is number-like
# [5.3.0-alpha.2](5.3.0-alpha.1...5.3.0-alpha.2) (2024-07-07) ### Bug Fixes * `Parse.Object.get` returns array instead of object if key name is number-like ([#2201](#2201)) ([5921ba2](5921ba2))
🎉 This change has been released in version 5.3.0-alpha.2 |
🎉 This change has been released in version 5.3.0-beta.1 |
🎉 This change has been released in version 5.3.0 |
Pull Request
Issue
Closes: #2198
Approach
Issue demo
Tasks