Closed mtrezza closed 3 months ago
@mtrezza this fix would return wrong output e.g.
{ field: 'object', value: { '1x1': 1, '2': 2, '3': 3 } },
return as jsonArray which is wrong{ field: 'object', value: { '1': 1 } },
return as jsonArray which is also wrong as 0
index is missing
I have created a PR https://github.com/parse-community/Parse-SDK-JS/pull/2206/ which considers these cases as well.An index of 0 is not required for an array to be an array. See https://github.com/parse-community/Parse-SDK-JS/issues/2198#issuecomment-2210725825.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
b50790a
) to head (83066f2
). Report is 103 commits behind head on alpha.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@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
🎉 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: https://github.com/parse-community/Parse-SDK-JS/issues/2198
Approach
Issue demo
Tasks