Skip to content

fix: Operations in afterSave triggers aren't decoded #8481

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

Draft
wants to merge 1 commit into
base: alpha
Choose a base branch
from

Conversation

dblythy
Copy link
Member

@dblythy dblythy commented Mar 14, 2023

Pull Request

Issue

When using operations in an afterSave trigger, they are returned directly to the client, which can break serilazation.

Closes: #8386

Approach

Clear ops

Tasks

  • Add tests

@parse-github-assistant
Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title fix: operations in afterSave triggers aren't decoded fix: Operations in afterSave triggers aren't decoded Mar 14, 2023
@parse-github-assistant
Copy link

Thanks for opening this pull request!

@dblythy
Copy link
Member Author

dblythy commented Mar 14, 2023

Creating as a Draft PR as the JS SDK will need to be updated to interpret null values returned to be the same as {op: 'Delete'} - @mtrezza what are your thoughts here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_op: delete returning on after save object result
1 participant