refactor: Add option to convert Parse.Object to instance in Cloud Function payload#8646
refactor: Add option to convert Parse.Object to instance in Cloud Function payload#8646mtrezza merged 11 commits intoparse-community:alphafrom
Parse.Object to instance in Cloud Function payload#8646Conversation
Thanks for opening this pull request! |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## alpha #8646 +/- ##
==========================================
- Coverage 94.45% 85.08% -9.37%
==========================================
Files 184 184
Lines 14635 14635
==========================================
- Hits 13823 12452 -1371
- Misses 812 2183 +1371
☔ View full report in Codecov by Sentry. |
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com> Signed-off-by: Daniel <daniel-blyth@live.com.au>
|
I think just the deprecation is missing, then we can merge this. |
Parse.Object in Cloud Function payload
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
Parse.Object in Cloud Function payloadParse.Object to instance in Cloud Function payload
|
As always, right after merging, I noticed that the deprecation date is incorrect. It should be Parse Server 8 (2025) according to our policy to give developers >= 1 year time for breaking changes. I'll correct that, #8657. |
|
🎉 This change has been released in version 6.3.0-alpha.3 |
|
🎉 This change has been released in version 6.4.0-beta.1 |
|
🎉 This change has been released in version 6.4.0-alpha.1 |
|
🎉 This change has been released in version 6.4.0 |
Pull Request
Issue
#8490 was actually a breaking change because it changes the payload in Cloud Functions in a way that a Parse Pointer JSON is converted to a Parse.Pointer instance in the payload, instead of being just a POJO as it used to be previously.
Closes: #8634
Approach
Tasks