parse-community / parse-server

Parse Server for Node.js / Express
https://parseplatform.org
Apache License 2.0
20.71k stars 4.76k forks source link

fix: Server crashes when receiving an array of `Parse.Pointer` in the request body #9012

Closed jaysonng closed 4 months ago

jaysonng commented 4 months ago

Pull Request

Issue

Closes: https://github.com/parse-community/parse-server/issues/9010

same as : https://github.com/parse-community/parse-server/issues/8783

Approach

Copied / exactly the same as PR https://github.com/parse-community/parse-server/pull/8784

Tasks

parse-github-assistant[bot] commented 4 months ago

Thanks for opening this pull request!

mtrezza commented 4 months ago

Also check lint

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.32%. Comparing base (09b6a95) to head (5465bc8). Report is 1 commits behind head on release-6.x.x.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-6.x.x #9012 +/- ## ================================================= - Coverage 94.33% 94.32% -0.01% ================================================= Files 186 186 Lines 14827 14827 ================================================= - Hits 13987 13986 -1 - Misses 840 841 +1 ```

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

jaysonng commented 4 months ago

Also check lint

weird. I see below that lint fails because of a white space.

but when I run it locally, I get

> parse-server@6.5.2 lint
> flow && eslint --cache ./

Launching Flow server for /Users/jayson/Projects/Busog/parse-server/server
Spawned flow server (pid=7154)
Logs will go to /private/tmp/flow/zSUserszSjaysonzSProjectszSBusogzSparse-serverzSserver.log
Monitor logs will go to /private/tmp/flow/zSUserszSjaysonzSProjectszSBusogzSparse-serverzSserver.monitor_log
No errors!
parseplatformorg commented 4 months ago

🎉 This change has been released in version 6.5.4