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

Add option to convert Parse.Pointer in Cloud Function payload #8634

Closed
4 tasks done
mtrezza opened this issue Jun 11, 2023 · 6 comments · Fixed by #8646
Closed
4 tasks done

Add option to convert Parse.Pointer in Cloud Function payload #8634

mtrezza opened this issue Jun 11, 2023 · 6 comments · Fixed by #8646
Labels
block:release Needs to be resolved before next release on release branch; remove label afterwards state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Jun 11, 2023

New Issue Checklist

Issue Description

#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.

Solution

Add a new Parse Server option that determines whether a pointer should be a POJO (by default), or converted to a Parse.Pointer instance.

Since #8490 is already in beta, and for simplicity, we'll need a refactor PR for both the alpha and beta branch.

Environment

Server

  • Parse Server version: 6.3.0-beta.1

References

@parse-github-assistant
Copy link

parse-github-assistant bot commented Jun 11, 2023

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza changed the title Add temp option to convert Parse.Pointer in Cloud Function payload Add option to convert Parse.Pointer in Cloud Function payload Jun 11, 2023
@mtrezza mtrezza added type:bug Impaired feature or lacking behavior that is likely assumed block:release Needs to be resolved before next release on release branch; remove label afterwards labels Jun 11, 2023
@mtrezza
Copy link
Member Author

mtrezza commented Jun 12, 2023

This PR blocks the stable release pipeline of Parse Server; it fixes a breaking change that has been introduced by mistake.

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.3.0-alpha.3

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Jun 23, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.4.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Sep 16, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.4.0-alpha.1

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.4.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block:release Needs to be resolved before next release on release branch; remove label afterwards state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
2 participants